Skip to main content

Module asset

Module asset 

Source
Expand description

Compatibility facade for asset APIs plus engine-level typed asset resources.

Structs§

AssetServer
AssetServerResource
ECS resource wrapper for the engine asset server.
Assets
Generic typed asset storage.
GltfSceneAssets
ECS resource storing handle-indexed glTF scenes.
Handle
A typed handle to an asset.
HandleAllocator
A counter for generating unique handles.
MaterialAssets
ECS resource storing handle-indexed material pipelines.
MeshCache
Resource that caches GPU meshes by handle.
MeshFilter
Component that references a mesh and material for rendering.

Enums§

AssetServerError

Functions§

load_gltf_async
Starts async glTF loading and returns a scene handle.
register_material_asset
Registers a material pipeline under a stable handle.