![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RHIUtilities.h>
Public Member Functions | |
| FRWBufferStructured () | |
| ~FRWBufferStructured () | |
| void | Initialize (FRHICommandListBase &RHICmdList, const TCHAR *InDebugName, uint32 BytesPerElement, uint32 NumElements, EBufferUsageFlags AdditionalUsage=EBufferUsageFlags::None, bool bUseUavCounter=false, bool bAppendBuffer=false, ERHIAccess InitialState=ERHIAccess::UAVMask) |
| template<typename LAMBDA > | |
| void | InitializeWithData (FRHICommandListBase &RHICmdList, const TCHAR *InDebugName, uint32 BytesPerElement, uint32 NumElements, LAMBDA &&InitializerFunction, EBufferUsageFlags AdditionalUsage=EBufferUsageFlags::None, bool bUseUavCounter=false, bool bAppendBuffer=false, ERHIAccess InitialState=ERHIAccess::UAVMask) |
| void | Release () |
Public Attributes | |
| FBufferRHIRef | Buffer |
| FUnorderedAccessViewRHIRef | UAV |
| FShaderResourceViewRHIRef | SRV |
| uint32 | NumBytes |
Encapsulates a GPU read/write structured buffer with its UAV and SRV.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| FBufferRHIRef FRWBufferStructured::Buffer |
| uint32 FRWBufferStructured::NumBytes |
| FShaderResourceViewRHIRef FRWBufferStructured::SRV |
| FUnorderedAccessViewRHIRef FRWBufferStructured::UAV |