Language:
Discover
By Skill Level
By Category

GetCachedBoundShaderState_Threadsafe

Choose your OS:

Syntax

[RHI_API](API\Runtime\RHI\RHI_API)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.

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

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