Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientTesseraMaterialData Class Referencefinal

#include <RadientTesseraMaterialCache.hpp>

Public Member Functions

RADIENT_STATUS GetGPUResourceStatus () const noexcept
Uint64 GetRenderStateRevision () const noexcept
 Changes only when preparation updates the cached surface mode or double-sided flag.

Detailed Description

Tessera-specific material data initially produced by a worker task. Shader data and surface state are refreshed on the render thread without changing bindings. The retained material asset keeps the borrowed RadientMaterialAssetView alive. The logical SRB lease is stable even while its GPU SRB is pending.

Member Function Documentation

◆ GetGPUResourceStatus()

RADIENT_STATUS Diligent::RadientTesseraMaterialData::GetGPUResourceStatus ( ) const
noexcept

Reports aggregate Tessera GPU readiness. The source material tracks its selected texture dependencies; Tessera additionally waits for initial shader-data validation and upload, and the SRB prepared for the logical lease. This method is render-thread-only.