FDynamicReadBuffer

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIUtilities.h

Include

#include "RHIUtilities.h"

Syntax

struct FDynamicReadBuffer : public FReadBuffer

Variables

Name Description

Public variable

uint8 *

 

MappedBuffer

Pointer to the vertex buffer mapped in main memory.

Constructors

Name Description

Public function

FDynamicReadBuffer()

Default constructor.

Destructors

Name Description

Public function Virtual

~FDynamicReadBuffer()

Functions

Name Description

Public function Virtual

void

 

Initialize

(
    uint32 BytesPerElement,
    uint32 NumElements,
    EPixelFormat Format,
    uint32 AdditionalUsage
)

Public function

void

 

Lock()

Locks the vertex buffer so it may be written to.

Public function

void

 

Unlock()

Unocks the buffer so the GPU may read from it.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss