FOpenGLFrontend::PrepareCodeForOfflineCompilation

Final source code processing, based on device capabilities, before actual (offline) compilation; it mostly mirrors the behaviour of OpenGLShaders.cpp/GLSLToDeviceCompatibleGLSL()

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

TSharedPtr< ANSICHAR > PrepareCodeForOfflineCompilation
(
    GLSLVersion ShaderVersion,
    EShaderFrequency Frequency,
    const ANSICHAR * InShaderSource
) const

Remarks

Final source code processing, based on device capabilities, before actual (offline) compilation; it mostly mirrors the behaviour of OpenGLShaders.cpp/GLSLToDeviceCompatibleGLSL()

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