Skip to content

Engine → Scene

scene_serializer.h

Stateless file and archive operations over a scene.

Structs

File Description
prefab_document A parsed prefab file: entry 0 of the archive is the single root.
scene_document A parsed scene file; also the published payload of the conjure.scene.scene asset type.

Classes

File Description
scene_serializer Stateless file and archive operations over a scene.

Type Aliases

scene_asset

using scene_asset = scene_document;

Constants

Name Type Value Description
PREFAB_ASSET_TYPE_NAME inline constexpr std::string_view "conjure.scene.prefab"
PREFAB_FILE_EXTENSION inline constexpr std::string_view ".prefab.json"
PREFAB_FORMAT_NAME inline constexpr std::string_view "conjure.prefab"
SCENE_ASSET_TYPE_NAME inline constexpr std::string_view "conjure.scene.scene"
SCENE_FILE_EXTENSION inline constexpr std::string_view ".scene.json"
SCENE_FORMAT_NAME inline constexpr std::string_view "conjure.scene"

Macros

CONJURE_DECLARE_ASSET_TYPE

CONJURE_DECLARE_ASSET_TYPE(conjure::scene::scene_asset, "conjure.scene.scene")