Navigation
API > API/Runtime > API/Runtime/RenderCore
Class that encapsulates logic to create a DDC key for the global shader map.
| Name | FGlobalShaderMapId |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/GlobalShader.h |
| Include Path | #include "GlobalShader.h" |
Syntax
class FGlobalShaderMapId
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGlobalShaderMapId
(
EShaderPlatform Platform, |
Create a global shader map Id for the given platform. | GlobalShader.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IniPlatformName | FName | GlobalShader.h | ||
| LayoutParams | FPlatformTypeLayoutParameters | GlobalShader.h | ||
| ShaderFilenameToDependenciesMap | TMap< FString, TArray< FShaderTypeDependency > > | Shader types that this shader map is dependent on and their stored state. | GlobalShader.h | |
| ShaderPipelineTypeDependencies | TArray< FShaderPipelineTypeDependency > | Shader pipeline types that this shader map is dependent on and their stored state. | GlobalShader.h | |
| ShaderPlatform | EShaderPlatform | GlobalShader.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendKeyString
(
FString& KeyString, |
Append to a string that will be used as a DDC key. | GlobalShader.h | |
const TMap< FString, TArray< FShaderTypeDependency > > & GetShaderFilenameToDependeciesMap() |
GlobalShader.h | ||
EShaderPermutationFlags GetShaderPermutationFlags() |
GlobalShader.h | ||
bool WithEditorOnly() |
GlobalShader.h |