Navigation
API > API/Runtime > API/Runtime/RHI
Non-reference-counted version of shader state key. This structure is used as the actual key type for TMap, which avoids reference counting overhead during lookup. Note that FCachedBoundShaderStateLink contains a full-fat reference-counted FBoundShaderStateKey, ensuring correct lifetime management.
| Name | FBoundShaderStateLookupKey |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/BoundShaderStateCache.h |
| Include Path | #include "BoundShaderStateCache.h" |
Syntax
class FBoundShaderStateLookupKey
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBoundShaderStateLookupKey
(
const FBoundShaderStateKey& Key |
Note: implicit cast is allowed/expected for this constructor. | BoundShaderStateCache.h | |
FBoundShaderStateLookupKey
(
FRHIMeshShader* InMeshShader, |
BoundShaderStateCache.h | ||
FBoundShaderStateLookupKey
(
FRHIVertexDeclaration* InVertexDeclaration, |
BoundShaderStateCache.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AmplificationShader | const FRHIAmplificationShader * | BoundShaderStateCache.h | ||
| GeometryShader | const FRHIGeometryShader * | BoundShaderStateCache.h | ||
| MeshShader | const FRHIMeshShader * | BoundShaderStateCache.h | ||
| PixelShader | const FRHIPixelShader * | BoundShaderStateCache.h | ||
| VertexDeclaration | const FRHIVertexDeclaration * | BoundShaderStateCache.h | ||
| VertexShader | const FRHIVertexShader * | BoundShaderStateCache.h |