Language:
Discover
By Skill Level
By Category

FShaderParameterMap

Choose your OS:

Syntax

class FShaderParameterMap

Remarks

A map of shader parameter names to registers allocated to that parameter.

Constructors

Name Description

Public function

FShaderParameterMap()

Functions

Name Description

Public function

SHADERCORE_A ...

 

AddParameterAllocation

(
    const TCHAR * ParameterName,
    uint16 BufferIndex,
    uint16 BaseIndex,
    uint16 Size
)

Public function

SHADERCORE_A ...

 

ContainsParameterAllocation

(
    const TCHAR * ParameterName
)

Public function

SHADERCORE_A ...

 

FindParameterAllocation

(
    const TCHAR * ParameterName,
    uint16 & OutBufferIndex,
    uint16 & OutBaseIndex,
    uint16 & OutSize
)

Public function

void

 

GetAllParameterNames

(
    TArray < FString >& OutNames
)

Public function

SHADERCORE_A ...

 

RemoveParameterAllocation

(
    const TCHAR * ParameterName
)

Public function

void

 

UpdateHash

(
    FSHA1 & HashState
)

Updates the hash state with the contents of this parameter map.

Public function

SHADERCORE_A ...

 

VerifyBindingsAreComplete

(
    const TCHAR * ShaderTypeName,
    FShaderTarget Target,
    FVertexFactoryType * InVertexFa...
)

Checks that all parameters are bound and asserts if any aren't in a debug build

References

Module

ShaderCore

Header

Runtime/ShaderCore/Public/ShaderCore.h