FRDGParameterStruct

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

Windows
MacOS
Linux

Inheritance Hierarchy

FRDGParameterStruct

TRDGParameterStruct

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderGraphParameter.h

Include

#include "RenderGraphParameter.h"

Syntax

class FRDGParameterStruct

Remarks

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

Constructors

Name Description

Public function

FRDGParameterStruct

(
    ParameterStructType* Parameter...
)

Public function

FRDGParameterStruct

(
    const void * InContents,
    const FRHIUniformBufferLayout *...
)

Functions

Name Description

Public function Const

void

 

Enumerate

(
    FunctionType Function
)

Enumerates all graph parameters on the layout.

Public function Const

void

 

EnumerateBuffers

(
    FunctionType Function
)

Same as Enumerate, but only buffer parameters are included.

Public function Const

void

 

EnumerateTextures

(
    FunctionType Function
)

Same as Enumerate, but only texture parameters are included.

Public function Const

void

 

EnumerateUniformBuffers

(
    FunctionType Function
)

Enumerates all non-null uniform buffers. Expected function signature: void(FRDGUniformBuffer*).

Public function Const

uint32

 

GetBufferParameterCount()

Returns the number of buffer parameters present on the layout.

Public function Const

const uint8 ...

 

GetContents()

Returns the contents of the struct.

Public function Const

FUniformBuff ...

 

GetGlobalUniformBuffers()

Returns a set of static global uniform buffer bindings for the parameter struct.

Public function Const

const FRHIUn ...

 

GetLayout()

Returns the layout associated with this struct.

Public function Const

FRHIRenderPa ...

 

GetRenderPassInfo()

Returns the render pass info generated from the render target binding slots.

Public function Const

const FRende ...

 

GetRenderTargets()

Returns the render target binding slots. Asserts if they don't exist.

Public function Const

uint32

 

GetTextureParameterCount()

Returns the number of texture parameters present on the layout.

Public function Const

bool

 

HasExternalOutputs()

Public function Const

bool

 

HasRenderTargets()

Helpful forwards from the layout.

Public function Const

bool

 

HasStaticSlot()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback