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

#include <BoundShaderStateCache.h>

Public Member Functions

 FBoundShaderStateLookupKey (const FBoundShaderStateKey &Key)
 
 FBoundShaderStateLookupKey (FRHIVertexDeclaration *InVertexDeclaration, FRHIVertexShader *InVertexShader, FRHIPixelShader *InPixelShader, FRHIGeometryShader *InGeometryShader=nullptr)
 
 FBoundShaderStateLookupKey (FRHIMeshShader *InMeshShader, FRHIAmplificationShader *InAmplificationShader, FRHIPixelShader *InPixelShader)
 

Friends

bool operator== (const FBoundShaderStateLookupKey &A, const FBoundShaderStateLookupKey &B)
 
uint32 GetTypeHash (const FBoundShaderStateLookupKey &Key)
 

Constructor & Destructor Documentation

◆ FBoundShaderStateLookupKey() [1/3]

FBoundShaderStateLookupKey::FBoundShaderStateLookupKey ( const FBoundShaderStateKey Key)
inline

◆ FBoundShaderStateLookupKey() [2/3]

FBoundShaderStateLookupKey::FBoundShaderStateLookupKey ( FRHIVertexDeclaration InVertexDeclaration,
FRHIVertexShader InVertexShader,
FRHIPixelShader InPixelShader,
FRHIGeometryShader InGeometryShader = nullptr 
)
inline

◆ FBoundShaderStateLookupKey() [3/3]

FBoundShaderStateLookupKey::FBoundShaderStateLookupKey ( FRHIMeshShader InMeshShader,
FRHIAmplificationShader InAmplificationShader,
FRHIPixelShader InPixelShader 
)
inline

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FBoundShaderStateLookupKey Key)
friend

Get the hash for this type.

Parameters
Key- struct to hash
Returns
dword hash based on type

◆ operator==

bool operator== ( const FBoundShaderStateLookupKey A,
const FBoundShaderStateLookupKey B 
)
friend

Equality is based on decl, vertex shader and pixel shader

Parameters
Other- instance to compare against
Returns
true if equal

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