FOpenGLFrontend::PostProcessShaderSource

Allow a subclass to perform additional work on the cross compiled source code.

Windows
MacOS
Linux

References

Module

ShaderFormatOpenGL

Header

/Engine/Source/Developer/ShaderFormatOpenGL/Public/ShaderFormatOpenGL.h

Include

#include "ShaderFormatOpenGL.h"

Syntax

virtual bool PostProcessShaderSource
(
    GLSLVersion Version,
    EShaderFrequency Frequency,
    const ANSICHAR * ShaderSource,
    uint32 SourceLen,
    class FShaderParameterMap & ParameterMap,
    TMap< FString, FString > & BindingNameMap,
    TArray< struct FShaderCompilerError > & Errors,
    const FShaderCompilerInput & ShaderInput
)

Remarks

Allow a subclass to perform additional work on the cross compiled source code.

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