engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 友元 | 所有成员列表
FRDGParameterStruct类 参考

Wraps a pass parameter struct payload and provides helpers for traversing members. 更多...

#include <RenderGraphParameter.h>

被 TRDGParameterStruct< ParameterStructType > 继承.

Public 成员函数

template<typename FunctionType >
void Enumerate (FunctionType Function) const
 Enumerates all graph parameters on the layout. 更多...
 
template<typename FunctionType >
void EnumerateBuffers (FunctionType Function) const
 Same as Enumerate, but only buffer parameters are included.
 
template<typename FunctionType >
void EnumerateTextures (FunctionType Function) const
 Same as Enumerate, but only texture parameters are included.
 
template<typename FunctionType >
void EnumerateUniformBuffers (FunctionType Function) const
 Enumerates all non-null uniform buffers. 更多...
 
uint32 GetBufferParameterCount () const
 Returns the number of buffer parameters present on the layout.
 
const uint8 * GetContents () const
 Returns the contents of the struct.
 
FUniformBufferStaticBindings GetGlobalUniformBuffers () const
 Returns a set of static global uniform buffer bindings for the parameter struct.
 
const FRHIUniformBufferLayout & GetLayout () const
 Returns the layout associated with this struct.
 
FRHIRenderPassInfo GetRenderPassInfo () const
 Returns the render pass info generated from the render target binding slots.
 
const FRenderTargetBindingSlots & GetRenderTargets () const
 Returns the render target binding slots. 更多...
 
uint32 GetTextureParameterCount () const
 Returns the number of texture parameters present on the layout.
 
FORCEINLINE bool HasRenderTargets () const
 Helpful forwards from the layout.
 

友元

class FRDGPass
 

详细描述

Wraps a pass parameter struct payload and provides helpers for traversing members.

成员函数说明

◆ Enumerate()

template<typename FunctionType >
void FRDGParameterStruct::Enumerate ( FunctionType  Function) const

Enumerates all graph parameters on the layout.

Graph uniform buffers are traversed recursively but are also included in the enumeration. Expected function signature: void(FRDGParameter).

◆ EnumerateUniformBuffers()

template<typename FunctionType >
void FRDGParameterStruct::EnumerateUniformBuffers ( FunctionType  Function) const

Enumerates all non-null uniform buffers.

Expected function signature: void(FRDGUniformBuffer*).

◆ GetRenderTargets()

const FRenderTargetBindingSlots & FRDGParameterStruct::GetRenderTargets ( ) const
inline

Returns the render target binding slots.

Asserts if they don't exist.


该类的文档由以下文件生成: