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

#include <Shader.h>

Public Member Functions

 FShaderId ()
 
 FShaderId (const FShaderType *InType, const FSHAHash &InMaterialShaderMapHash, const FHashedName &InShaderPipeline, const FVertexFactoryType *InVertexFactoryType, int32 InPermutationId, EShaderPlatform InPlatform)
 

Public Attributes

const FShaderTypeType
 
const FVertexFactoryTypeVFType
 
FHashedName ShaderPipelineName
 
FSHAHash MaterialShaderMapHash
 
int32 PermutationId
 
uint32 Platform: SP_NumBits
 

Friends

uint32 GetTypeHash (const FShaderId &Id)
 
bool operator== (const FShaderId &X, const FShaderId &Y)
 
bool operator!= (const FShaderId &X, const FShaderId &Y)
 

Detailed Description

Uniquely identifies an FShader instance.
Used to link FMaterialShaderMaps and FShaders on load.

Constructor & Destructor Documentation

◆ FShaderId() [1/2]

FShaderId::FShaderId ( )
inline

◆ FShaderId() [2/2]

FShaderId::FShaderId ( const FShaderType InType,
const FSHAHash InMaterialShaderMapHash,
const FHashedName InShaderPipeline,
const FVertexFactoryType InVertexFactoryType,
int32  InPermutationId,
EShaderPlatform  InPlatform 
)
inline

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FShaderId Id)
friend

◆ operator!=

bool operator!= ( const FShaderId X,
const FShaderId Y 
)
friend

◆ operator==

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

Member Data Documentation

◆ MaterialShaderMapHash

FSHAHash FShaderId::MaterialShaderMapHash

◆ PermutationId

int32 FShaderId::PermutationId

◆ Platform

uint32 FShaderId::Platform

◆ ShaderPipelineName

FHashedName FShaderId::ShaderPipelineName

◆ Type

const FShaderType* FShaderId::Type

◆ VFType

const FVertexFactoryType* FShaderId::VFType

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