Companion

Functions

Link copied to clipboard
fun interleave(buffers: Array<ZBuffer>)

Interleaves multiple ZBuffers by combining their data arrays into a single buffer. Each buffer's stride and offset are updated to reflect the interleaved layout. All buffers must have the same count of elements.