ShaderPreprocessor

Functions

Name Description

Public function

SHADERPREPRO...

 

PreprocessShader

(
    FString & OutPreprocessedShader,
    FShaderCompilerOutput & ShaderOutpu...,
    const FShaderCompilerInput & Shader...,
    const FShaderCompilerDefinitions & ...
)

Preprocess a shader.

true if the shader is preprocessed without error.

Public function

SHADERPREPRO...

 

PreprocessShaderFile

(
    FString & OutPreprocessedShader,
    TArray < FShaderCompilerError >& Ou...,
    const FString & InShaderFile
)

Preprocess a shader file, for non-usf files.