Descriptor for render graph tracked Buffer. 更多...
#include <RenderGraphResources.h>
Public 成员函数 | |
| uint32 | GetTotalNumBytes () const |
| Returns the total number of bytes allocated for a such buffer. | |
静态 Public 成员函数 | |
| template<typename IndirectParameterStruct > | |
| static FRDGBufferDesc | CreateIndirectDesc (uint32 NumElements=1) |
| Create the descriptor for an indirect RHI call. 更多... | |
Public 属性 | |
| uint32 | BytesPerElement = 1 |
| Stride in bytes for index and structured buffers. | |
| uint32 | NumElements = 1 |
| Number of elements. | |
| EUnderlyingType | UnderlyingType = EUnderlyingType::VertexBuffer |
| The underlying RHI type to use. 更多... | |
| EBufferUsageFlags | Usage = BUF_None |
| Bitfields describing the uses of that buffer. | |
Descriptor for render graph tracked Buffer.
|
inlinestatic |
Create the descriptor for an indirect RHI call.
Note, IndirectParameterStruct should be one of the: struct FRHIDispatchIndirectParameters struct FRHIDrawIndirectParameters struct FRHIDrawIndexedIndirectParameters
| EUnderlyingType FRDGBufferDesc::UnderlyingType = EUnderlyingType::VertexBuffer |
The underlying RHI type to use.
A bit of a work around because RHI still have 3 different objects.