UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FVertexDeclarationCache Struct Reference

Public Member Functions

FORCEINLINE FVertexDeclarationRHIRefFind (FD3D12VertexDeclarationKey Key)
 
FORCEINLINE FVertexDeclarationRHIRefAdd (const FD3D12VertexDeclarationKey &InKey, const FVertexDeclarationRHIRef &InValue)
 
FORCEINLINE FVertexDeclarationRHIRefFindOrAdd (const FD3D12VertexDeclarationKey &InKey)
 

Public Attributes

FCriticalSection LockGuard
 
TMap< FD3D12VertexDeclarationKey, FVertexDeclarationRHIRefCache
 

Detailed Description

Global cache of vertex declarations.

Member Function Documentation

◆ Add()

FORCEINLINE FVertexDeclarationRHIRef & FVertexDeclarationCache::Add ( const FD3D12VertexDeclarationKey InKey,
const FVertexDeclarationRHIRef InValue 
)
inline

◆ Find()

FORCEINLINE FVertexDeclarationRHIRef * FVertexDeclarationCache::Find ( FD3D12VertexDeclarationKey  Key)
inline

◆ FindOrAdd()

FORCEINLINE FVertexDeclarationRHIRef * FVertexDeclarationCache::FindOrAdd ( const FD3D12VertexDeclarationKey InKey)
inline

Member Data Documentation

◆ Cache

TMap<FD3D12VertexDeclarationKey, FVertexDeclarationRHIRef> FVertexDeclarationCache::Cache

◆ LockGuard

FCriticalSection FVertexDeclarationCache::LockGuard

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