pub type MaterialHandle = HandleComponent<Box<dyn Material>>;Expand description
Runtime-only resolved material: a shared handle to the type-erased material
data plus its identifying AssetUUID. Produced by the resolver, consumed by
the GPU material projection. A readable alias for call sites.
Aliased Type§
pub struct MaterialHandle {
pub handle: AssetHandle<Box<dyn Material>>,
pub uuid: AssetUUID,
}Fields§
§handle: AssetHandle<Box<dyn Material>>A shared, reference-counted pointer to the asset’s data.
uuid: AssetUUIDThe unique, persistent identifier of the asset.