GetCachedBoundShaderState_Threadsafe

Syntax

FBoundShaderStateRHIRef GetCachedBoundShaderState_Threadsafe
(
    FVertexDeclarationRHIParamRef VertexDeclaration,
    FVertexShaderRHIParamRef VertexShader,
    FPixelShaderRHIParamRef PixelShader,
    FHullShaderRHIParamRef HullShader,
    FDomainShaderRHIParamRef DomainShader,
    FGeometryShaderRHIParamRef GeometryShader
)

Remarks

Searches for a cached bound shader state. Threadsafe version.

Returns

If a bound shader state matching the parameters is cached, it is returned; otherwise NULL is returned.

References

Module

RHI

Header

Runtime/RHI/Public/BoundShaderStateCache.h

Source

Runtime/RHI/Private/BoundShaderStateCache.cpp