FBoundShaderStateLookupKey

Non-reference-counted version of shader state key.

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/BoundShaderStateCache.h

Include

#include "BoundShaderStateCache.h"

Syntax

class FBoundShaderStateLookupKey

Remarks

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.

Constructors

Name Description

Public function

FBoundShaderStateLookupKey

(
    const FBoundShaderStateKey& Key
)

Note: implicit cast is allowed/expected for this constructor.

Public function

FBoundShaderStateLookupKey

(
    FRHIVertexDeclaration* InVerte...,
    FRHIVertexShader* InVertexShad...,
    FRHIPixelShader* InPixelShader,
    FRHIHullShader* InHullShader,
    FRHIDomainShader* InDomainShad...,
    FRHIGeometryShader* InGeometry...
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss