ReadonlybyteBytes held on the GPU.
ReadonlynodeThe scene's node format. A kernel refuses a scene of the other format.
ReadonlynodesReadonlypositionThe position layout (read for indexed scenes only).
Optional ReadonlypositionsAn indexed scene's positions (TraceSceneData.positions), bound fourth. Absent or null for records.
ReadonlytopReadonlytriangleThe scene's triangle format. A kernel refuses a scene of the other format.
Readonlytriangles
The three storage buffers the tracer reads, and an indexed scene's fourth.
Data says what it is. The formats are required: options default to quantized nodes, but buffers name their own format (
uploadTraceSceneandSceneTrees.traceBuffersalways do), and a kernel refuses buffers that don't. A hand-built object must namenodeFormat,triangleLeavesand, for indexed leaves,positionLayout.