FShaderParameterBindings

Stores all shader parameter bindings and their corresponding offset and size in the shader's parameters struct.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "Shader.h"

Syntax

class FShaderParameterBindings

Remarks

Stores all shader parameter bindings and their corresponding offset and size in the shader's parameters struct.

Variables

Name Description

Public variable

TMemoryImageArr...

 

GraphUniformBuffers

Public variable

TMemoryImageArr...

 

ParameterReferences

Public variable

TMemoryImageArr...

 

Parameters

Public variable

TMemoryImageArr...

 

ResourceParameters

Public variable

uint16

 

RootParameterBufferIndex

Buffer index of FShaderParametersMetadata::kRootUniformBufferBindingName.

Public variable

uint32

 

StructureLayoutHash

Hash of the shader parameter structure when doing the binding.

Functions

Name Description

Public function

void

 

BindForLegacyShaderParameters

(
    const FShader* Shader,
    int32 PermutationId,
    const FShaderParameterMap& Paramet...,
    const FShaderParametersMetadata& S...,
    bool bShouldBindEverything
)

Public function

void

 

BindForRootShaderParameters

(
    const FShader* Shader,
    int32 PermutationId,
    const FShaderParameterMap& Paramet...
)

Public function Const

const FTypeL...

 

GetTypeLayout()

Public function Static

FTypeLayoutD...

 

StaticGetTypeLayout()

Classes

Typedefs

Name

Description

DerivedType

InternalBaseType

Constants

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss