![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RHIUtilities.h>
Inheritance diagram for FReadBuffer:Public Member Functions | |
| FReadBuffer () | |
| void | Initialize (FRHICommandListBase &RHICmdList, const TCHAR *InDebugName, uint32 BytesPerElement, uint32 NumElements, EPixelFormat Format, EBufferUsageFlags AdditionalUsage=BUF_None, FResourceArrayUploadInterface *InResourceArray=nullptr) |
| template<typename LAMBDA > | |
| void | InitializeWithData (FRHICommandListBase &RHICmdList, const TCHAR *InDebugName, uint32 BytesPerElement, uint32 NumElements, EPixelFormat Format, EBufferUsageFlags AdditionalUsage, LAMBDA &&InitializerFunction) |
| void | Release () |
Public Attributes | |
| FBufferRHIRef | Buffer |
| FShaderResourceViewRHIRef | SRV |
| uint32 | NumBytes |
Encapsulates a GPU read buffer with its SRV.
|
inline |
|
inline |
|
inline |
|
inline |
| FBufferRHIRef FReadBuffer::Buffer |
| uint32 FReadBuffer::NumBytes |
| FShaderResourceViewRHIRef FReadBuffer::SRV |