FRWBuffer

Syntax

struct FRWBuffer

Remarks

Encapsulates a GPU read/write buffer with its UAV and SRV.

Variables

Name Description

Public variable

FVertexBufferRH ...

 

Buffer

Public variable

uint32

 

NumBytes

Public variable

FShaderResource ...

 

SRV

Public variable

FUnorderedAcces ...

 

UAV

Constructors

Name Description

Public function

FRWBuffer()

Destructors

Name Description

Public function

~FRWBuffer()

Functions

Name Description

Public function

void

 

AcquireTransientResource()

Public function

void

 

DiscardTransientResource()

Public function

void

 

Initialize

(
    uint32 BytesPerElement,
    uint32 NumElements,
    EPixelFormat Format,
    uint32 AdditionalUsage,
    const TCHAR * InDebugName,
    FResourceArrayInterface * InRes...
)

Public function

void

 

Release()

References

Module

RHI

Header

Runtime/RHI/Public/RHIUtilities.h