API

Interface IGaussianSplattingGpuSortOptions

interface IGaussianSplattingGpuSortOptions {
    cameraPosition?: ArrayLike<number>;
    depthRange?: { max: number; min: number };
    rightHanded?: boolean;
}
Index
cameraPosition?: ArrayLike<number>

World position of the camera. When omitted, the translation of the view matrix is used, which is equivalent.

depthRange?: { max: number; min: number }

Depth interval covering every active splat, in the sign-adjusted depth space (larger = farther). The 2^keyBits sort keys span this interval, so a tight interval improves the precision. When omitted, it is derived from the source bounds.

rightHanded?: boolean

Whether the scene is right-handed. Matches the CPU sort worker: the depth is negated so larger always means farther.