The glb_builder.py module#

Summary#

GLBBuilder

Utility for writing GLTF buffers and accessors.

create_gltf_scene

Create an initialized glTF document and default scene.

Description#

Low-level helpers to build GLB buffers and base glTF scene state.

Module detail#

glb_builder.create_gltf_scene() tuple[Any, Any]#

Create an initialized glTF document and default scene.

Returns:
tuple[Any, Any]

A tuple containing the glTF document and the default scene object.