ReadonlybyteBytes the whole file should have (header included), from the header's counts.
ReadonlycurrentTrue when this package loads the file: both versions are its own and it knows the formats. When false, reason says why: bake again.
ReadonlyformatWord 1: the byte format the file was written with (SERIALIZED_FORMAT_VERSION for a tree, SERIALIZED_SCENE_FORMAT_VERSION for a scene).
ReadonlyinstanceInstance records in the top level (merged groups' included).
ReadonlykindReadonlylayoutWord 2: the GPU layout the file was written with (GPU_LAYOUT_VERSION).
ReadonlymergedMerged static groups (TraceSceneData.mergedGroups).
ReadonlymeshThe input meshes (TraceSceneData.meshes).
Readonlynode'f32' or 'quantized'; null for a format code this package doesn't know.
Readonlyposition'vec4' or 'packed' (an indexed scene's positions); null for a code this package doesn't know.
ReadonlyreasonWhy the file isn't current (the message loading it would throw), or null.
ReadonlyrequiredTrace stack entries the scene needs (TraceSceneData.requiredStackSize).
Readonlytriangle'records' or 'indexed'; null for a format code this package doesn't know.
ReadonlyvertexVertices in the positions (0 for records).
A scene's header (
serializeTraceScene).