![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RenderGraphResources.h>
Public Member Functions | |
| uint32 | GetSize () const |
| bool | operator== (const FRDGBufferDesc &Other) const |
| bool | operator!= (const FRDGBufferDesc &Other) const |
Public Attributes | |
| uint32 | BytesPerElement = 1 |
| uint32 | NumElements = 1 |
| EBufferUsageFlags | Usage = EBufferUsageFlags::None |
| const FShaderParametersMetadata * | Metadata = nullptr |
Friends | |
| uint32 | GetTypeHash (const FRDGBufferDesc &Desc) |
Descriptor for render graph tracked Buffer.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Create the descriptor for an indirect RHI call.
Note, IndirectParameterStruct should be one of the: struct FRHIDispatchIndirectParameters struct FRHIDrawIndirectParameters struct FRHIDrawIndexedIndirectParameters
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
Returns the total number of bytes allocated for a such buffer.
|
inline |
|
inline |
|
friend |
| uint32 FRDGBufferDesc::BytesPerElement = 1 |
Stride in bytes for index and structured buffers.
| const FShaderParametersMetadata* FRDGBufferDesc::Metadata = nullptr |
Meta data of the layout of the buffer for debugging purposes.
| uint32 FRDGBufferDesc::NumElements = 1 |
Number of elements.
| EBufferUsageFlags FRDGBufferDesc::Usage = EBufferUsageFlags::None |
Bitfields describing the uses of that buffer.