UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FGlobalShaderMapId Class Reference

#include <GlobalShader.h>

Public Member Functions

RENDERCORE_API FGlobalShaderMapId (EShaderPlatform Platform, const ITargetPlatform *TargetPlatform)
 
RENDERCORE_API void AppendKeyString (FString &KeyString, const TArray< FShaderTypeDependency > &Dependencies) const
 
const TMap< FString, TArray< FShaderTypeDependency > > & GetShaderFilenameToDependeciesMap () const
 
RENDERCORE_API bool WithEditorOnly () const
 
EShaderPermutationFlags GetShaderPermutationFlags () const
 

Detailed Description

Class that encapsulates logic to create a DDC key for the global shader map.

Constructor & Destructor Documentation

◆ FGlobalShaderMapId()

FGlobalShaderMapId::FGlobalShaderMapId ( EShaderPlatform  Platform,
const ITargetPlatform TargetPlatform 
)

Create a global shader map Id for the given platform.

Member Function Documentation

◆ AppendKeyString()

void FGlobalShaderMapId::AppendKeyString ( FString &  KeyString,
const TArray< FShaderTypeDependency > &  Dependencies 
) const

Append to a string that will be used as a DDC key.

◆ GetShaderFilenameToDependeciesMap()

const TMap< FString, TArray< FShaderTypeDependency > > & FGlobalShaderMapId::GetShaderFilenameToDependeciesMap ( ) const
inline

◆ GetShaderPermutationFlags()

EShaderPermutationFlags FGlobalShaderMapId::GetShaderPermutationFlags ( ) const
inline

◆ WithEditorOnly()

bool FGlobalShaderMapId::WithEditorOnly ( ) const

The documentation for this class was generated from the following files: