VerifyGlobalShaders

Makes sure all global shaders are loaded and/or compiled for the passed in platform.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ShaderCompiler.h

Include

#include "ShaderCompiler.h"

Source

/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp

Syntax

void VerifyGlobalShaders
(
    EShaderPlatform Platform,
    bool bLoadedFromCacheFile
)

Remarks

Makes sure all global shaders are loaded and/or compiled for the passed in platform. Note: if compilation is needed, this only kicks off the compile.

Parameters

Parameter

Description

Platform

Platform to verify global shaders for

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