FShaderParameterParser

Validates and moves all the shader loose data parameter defined in the root scope of the shader into the root uniform buffer.

Windows
MacOS
Linux

References

Module

ShaderCompilerCommon

Header

/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h

Include

#include "ShaderCompilerCommon.h"

Syntax

class FShaderParameterParser

Remarks

Validates and moves all the shader loose data parameter defined in the root scope of the shader into the root uniform buffer.

Functions

Name Description

Public function

bool

 

ParseAndMoveShaderParametersToRootConstantBuffer

(
    const FShaderCompilerInput& Compil...,
    FShaderCompilerOutput& CompilerOut...,
    FString& PreprocessedShaderSource,
    const TCHAR* ConstantBufferTyp...
)

Public function Const

void

 

ValidateShaderParameterTypes

(
    const FShaderCompilerInput& Compil...,
    FShaderCompilerOutput& CompilerOut...
)

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