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

#include <Shader.h>

Public Member Functions

 FShaderKey (const FSHAHash &InMaterialShaderMapHash, const FShaderPipelineType *InShaderPipeline, FVertexFactoryType *InVertexFactoryType, int32 PermutationId, EShaderPlatform InPlatform)
 

Public Attributes

FVertexFactoryTypeVertexFactoryType
 
const FShaderPipelineTypeShaderPipeline
 
FSHAHash MaterialShaderMapHash
 
int32 PermutationId
 
uint32 Platform: SP_NumBits
 

Friends

uint32 GetTypeHash (const FShaderKey &Id)
 
bool operator== (const FShaderKey &X, const FShaderKey &Y)
 
RENDERCORE_API friend FArchiveoperator<< (FArchive &Ar, FShaderKey &Ref)
 

Detailed Description

Encapsulates information about a shader's serialization behavior, used to detect when C++ serialization changes to auto-recompile.

Constructor & Destructor Documentation

◆ FShaderKey()

FShaderKey::FShaderKey ( const FSHAHash InMaterialShaderMapHash,
const FShaderPipelineType InShaderPipeline,
FVertexFactoryType InVertexFactoryType,
int32  PermutationId,
EShaderPlatform  InPlatform 
)
inline

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FShaderKey Id)
friend

◆ operator<<

RENDERCORE_API friend FArchive & operator<< ( FArchive Ar,
FShaderKey Ref 
)
friend

◆ operator==

bool operator== ( const FShaderKey X,
const FShaderKey Y 
)
friend

Member Data Documentation

◆ MaterialShaderMapHash

FSHAHash FShaderKey::MaterialShaderMapHash

◆ PermutationId

int32 FShaderKey::PermutationId

◆ Platform

uint32 FShaderKey::Platform

◆ ShaderPipeline

const FShaderPipelineType* FShaderKey::ShaderPipeline

◆ VertexFactoryType

FVertexFactoryType* FShaderKey::VertexFactoryType

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