FRWBufferStructured

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

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "RHIUtilities.h"

Syntax

struct FRWBufferStructured

Remarks

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

Variables

Name Description

Public variable

FStructuredBuff...

 

Buffer

Public variable

uint32

 

NumBytes

Public variable

FShaderResource...

 

SRV

Public variable

FUnorderedAcces...

 

UAV

Constructors

Name Description

Public function

FRWBufferStructured()

Destructors

Name Description

Public function

~FRWBufferStructured()

Functions

Name Description

Public function

void

 

AcquireTransientResource()

Public function

void

 

DiscardTransientResource()

Public function

void

 

Initialize

(
    uint32 BytesPerElement,
    uint32 NumElements,
    uint32 AdditionalUsage,
    const TCHAR* InDebugName,
    bool bUseUavCounter,
    bool bAppendBuffer
)

Public function

void

 

Release()

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