engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 所有成员列表
FRDGBufferDesc结构体 参考

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.

成员函数说明

◆ CreateIndirectDesc()

template<typename IndirectParameterStruct >
static FRDGBufferDesc FRDGBufferDesc::CreateIndirectDesc ( uint32  NumElements = 1)
inlinestatic

Create the descriptor for an indirect RHI call.

Note, IndirectParameterStruct should be one of the: struct FRHIDispatchIndirectParameters struct FRHIDrawIndirectParameters struct FRHIDrawIndexedIndirectParameters

类成员变量说明

◆ UnderlyingType

EUnderlyingType FRDGBufferDesc::UnderlyingType = EUnderlyingType::VertexBuffer

The underlying RHI type to use.

A bit of a work around because RHI still have 3 different objects.


该结构体的文档由以下文件生成: