Navigation
API > API/Runtime > API/Runtime/RenderCore
Wraps a pass parameter struct payload and provides helpers for traversing members.
| Name | FRDGParameterStruct |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphParameter.h |
| Include Path | #include "RenderGraphParameter.h" |
Syntax
class FRDGParameterStruct
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRDGParameterStruct
(
const ParameterStructType* Parameters, |
RenderGraphParameter.h | ||
FRDGParameterStruct
(
const void* InContents, |
RenderGraphParameter.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Contents | const uint8 * | RenderGraphParameter.h | ||
| Layout | FUniformBufferLayoutRHIRef | RenderGraphParameter.h | ||
| Metadata | const FShaderParametersMetadata * | RenderGraphParameter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Enumerate
(
FunctionType Function |
Enumerates all graph parameters on the layout. | RenderGraphParameter.h | |
void EnumerateBuffers
(
FunctionType Function |
Same as Enumerate, but only buffer parameters are included. | RenderGraphParameter.h | |
void EnumerateTextures
(
FunctionType Function |
Same as Enumerate, but only texture parameters are included. | RenderGraphParameter.h | |
void EnumerateUniformBuffers
(
FunctionType Function |
Enumerates all non-null uniform buffers. | RenderGraphParameter.h | |
uint32 GetBufferParameterCount() |
Returns the number of buffer parameters present on the layout. | RenderGraphParameter.h | |
const uint8 * GetContents() |
Returns the contents of the struct. | RenderGraphParameter.h | |
const FRHIUniformBufferLayout & GetLayout() |
Returns the layout associated with this struct. | RenderGraphParameter.h | |
const FRHIUniformBufferLayout * GetLayoutPtr() |
RenderGraphParameter.h | ||
const FShaderParametersMetadata * GetMetadata() |
RenderGraphParameter.h | ||
FRHIRenderPassInfo GetRenderPassInfo() |
Returns the render pass info generated from the render target binding slots. | RenderGraphParameter.h | |
const FRenderTargetBindingSlots & GetRenderTargets() |
Returns the render target binding slots. Asserts if they don't exist. | RenderGraphParameter.h | |
FUniformBufferStaticBindings GetStaticUniformBuffers() |
Returns a set of static uniform buffer bindings for the parameter struct. | RenderGraphParameter.h | |
uint32 GetTextureParameterCount() |
Returns the number of texture parameters present on the layout. | RenderGraphParameter.h | |
uint32 GetUniformBufferParameterCount() |
Returns the number of RDG uniform buffers present in the layout. | RenderGraphParameter.h | |
bool HasExternalOutputs() |
RenderGraphParameter.h | ||
bool HasRenderTargets() |
Helpful forwards from the layout. | RenderGraphParameter.h | |
bool HasStaticSlot() |
RenderGraphParameter.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ClearUniformBuffers
(
void* Contents, |
Clears out all uniform buffer references in the parameter struct. | RenderGraphParameter.h |