Navigation
API > API/Runtime > API/Runtime/RenderCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGlobalShaderMap * GetGlobalShaderMap
(
EShaderPlatform Platform |
Accesses the global shader map. | GlobalShader.h | |
FGlobalShaderMap * GetGlobalShaderMap
(
ERHIFeatureLevel::Type FeatureLevel |
Overload for the above GetGlobalShaderMap which takes a feature level and translates to the appropriate shader platform | GlobalShader.h |
GetGlobalShaderMap(EShaderPlatform)
Description
Accesses the global shader map. This is a global FGlobalShaderMap which contains an instance of each global shader type.
| Name | GetGlobalShaderMap |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/GlobalShader.h |
| Include Path | #include "GlobalShader.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/GlobalShader.cpp |
FGlobalShaderMap * GetGlobalShaderMap
(
EShaderPlatform Platform
)
A reference to the global shader map.
Parameters
| Name | Remarks |
|---|---|
| Platform | Which platform's global shader map to use |
| bRefreshShaderMap | If true, the existing global shader map will be tossed first |
GetGlobalShaderMap(ERHIFeatureLevel::Type)
Description
Overload for the above GetGlobalShaderMap which takes a feature level and translates to the appropriate shader platform
| Name | GetGlobalShaderMap |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/GlobalShader.h |
| Include Path | #include "GlobalShader.h" |
FGlobalShaderMap * GetGlobalShaderMap
(
ERHIFeatureLevel::Type FeatureLevel
)
A reference to the global shader map.
Parameters
| Name | Remarks |
|---|---|
| FeatureLevel | Which feature levels shader map to use |
| bRefreshShaderMap | If true, the existing global shader map will be tossed first |