FRWBufferStructured

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

Choose your operating system:

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

FBufferRHIRef

 

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

 

Initialize

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

Public function

void

 

Release()

Deprecated Functions

Name Description

Public function

void

 

AcquireTransientResource()

AcquireTransientResource is deprecated. Transient resources are allocated through IRHITransientResourceAllocator instead.

Public function

void

 

DiscardTransientResource()

DiscardTransientResource is deprecated. Transient resources are allocated through IRHITransientResourceAllocator instead.