Skip to content

Engine → Renderer

model_asset.h

The glTF node tree: what the scene module turns into a prefab. Nodes reference meshes and materials by index into the asset id lists, so the model is self-describing once its dependencies are loaded. Cooked as JSON (.cmodel).

Structs

File Description
model_node

Classes

File Description
model_asset
model_loader The conjure.renderer.model loader. No fallback: a missing model instantiates nothing.

Constants

Name Type Value Description
MODEL_ASSET_TYPE_NAME inline constexpr std::string_view "conjure.renderer.model"
MODEL_FORMAT_VERSION inline constexpr u32 1

Macros

CONJURE_DECLARE_ASSET_TYPE

CONJURE_DECLARE_ASSET_TYPE(conjure::renderer::model_asset, "conjure.renderer.model")