FDynamicReadBuffer

Inheritance Hierarchy

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.

References

Module

RHI

Header

Runtime/RHI/Public/RHIUtilities.h