Tracks components created while a SceneModel batch is active.

A batch is a SceneModel construction scope: components created between SceneModel.beginBatch and SceneModel.commitBatch are recorded here so callers can identify exactly what was created during that interval, and so loaders can partition a larger import into explicit phases. Viewers and renderers can defer partial content until the batch is committed. This is independent of how a renderer groups draw calls or GPU storage.

Properties

committed: boolean = false

True after the batch has been committed.

geometries: SceneGeometry[] = []

Geometries created in this batch.

id: string

Unique ID of this batch within the parent SceneModel.

materials: SceneMaterial[] = []

Materials created in this batch.

meshes: SceneMesh[] = []

Meshes created in this batch.

objects: SceneObject[] = []

Objects created in this batch.

techniques: SceneTechnique[] = []

Techniques created in this batch.

textures: SceneTexture[] = []

Textures created in this batch.

transforms: SceneTransform[] = []

Transforms created in this batch.