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.
| 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).
| void FRDGParameterStruct::EnumerateUniformBuffers | ( | FunctionType | Function | ) | const |
Enumerates all non-null uniform buffers.
Expected function signature: void(FRDGUniformBuffer*).
|
inline |
Returns the render target binding slots.
Asserts if they don't exist.