API

Class GaussianSplattingGpuSortOutput

Per-view GPU buffer receiving a sorted splat index list. It can be bound as the four instanced splatIndex0 ... splatIndex3 vertex attributes of the Gaussian Splatting vertex shader (16 splats per instance), in place of the CPU-uploaded index buffer.

Create it with GaussianSplattingGpuSorter.createOutput. After each successful sort, if buffersVersion changed, the vertex buffers were recreated (the output grew) and must be bound again.

Index