FOpenGLFrontend::PlatformCompileOffline

Based on ShaderVersion decides what platform specific compiler to use

Windows
MacOS
Linux

References

Module

ShaderFormatOpenGL

Header

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

Include

#include "ShaderFormatOpenGL.h"

Source

/Engine/Source/Developer/ShaderFormatOpenGL/Private/OpenGLShaderCompiler.cpp

Syntax

void PlatformCompileOffline
(
    const FShaderCompilerInput & Input,
    FShaderCompilerOutput & ShaderOutput,
    const ANSICHAR * ShaderSource,
    const GLSLVersion ShaderVersion
)

Remarks

Based on ShaderVersion decides what platform specific compiler to use

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