FOpenGLProgramBinaryCache::DeferShaderCompilation

Defer shader compilation until we link a program, so we will have a chance to load cached binary and skip compilation

Windows
MacOS
Linux

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLShaderResources.h

Include

#include "OpenGLShaderResources.h"

Source

/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLShaders.cpp

Syntax

static bool DeferShaderCompilation
(
    GLuint Shader,
    const TArray< ANSICHAR > & GlslCode
)

Remarks

Defer shader compilation until we link a program, so we will have a chance to load cached binary and skip compilation

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