Expand description
CPU decode for QualiaPortal load_10d (SurfaceReading + UV01 + MAT3/MAT4 + orbit-frame mesh).
Lives outside the wasm-only portal facade so native tests can cover the colour/UV/MAT path.
CPU decode for QualiaPortal load_10d.
Lives outside the wasm-only portal facade so native tests can cover the
SurfaceReading colour buffer, UV01 stream, and MAT3/MAT4 records that
load_10d uploads.
Structs§
- Load10d
GpuBuffers - Orbit-framed mesh buffers
load_10dpasses to GPU upload.
Functions§
- decode_
load_ 10d - Parse a sealed
.10dinto the GPU upload argumentsQualiaPortal::load_10duses. - upload_
load_ 10d_ to_ gpu - Upload the decoded
load_10dbuffers. Authored MAT3/MAT4 is used when present; otherwise UV0 uses the legacy default material. Emptycolorsis the GPU grey default. - upload_
load_ 10d_ to_ gpu_ with_ textures - Upload mesh plus optional PNG/KTX2 albedo (or other MAT maps). Texture failures skip the map; the mesh and vertex colour still draw.