LAB / INTERLEAVED POINTS
One byte layout. Two typed views.
Positions stay float32; color rides beside them as normalized Uint8 data. The CPU shares bytes, while Three.js still tracks two interleaved owners.
Preparing mixed layout—
Creating the shared CPU record buffer…
- records
- —
- record bytes
- —
- CPU storage
- —
- owners
- —
- position v.
- —
- color v.
- —
position: Float32 × 3 @ byte 0color: normalized Uint8 × 3 @ byte 12
Interleaved point study failed.The renderer could not initialize.
Rotate the object to match the official example’s dynamic behavior. “Upload color owner” changes bytes and signals only the color owner; it does not claim one GPU allocation.
THREE.JS FOUNDATIONS / MIXED STORAGE