GetGlobalShaderMap

Accesses the global shader map.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/GlobalShader.h

Include

#include "GlobalShader.h"

Source

/Engine/Source/Runtime/RenderCore/Private/GlobalShader.cpp

Syntax

FGlobalShaderMap * GetGlobalShaderMap
(
    EShaderPlatform Platform
)

Remarks

Accesses the global shader map. This is a global FGlobalShaderMap which contains an instance of each global shader type.

Returns

A reference to the global shader map.

Parameters

Parameter

Description

Platform

Which platform's global shader map to use

bRefreshShaderMap

If true, the existing global shader map will be tossed first

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