SortResult class

Result of a depth sorting operation.

Contains the sorted indices and metadata about the sorting operation.

Constructors

SortResult({required Uint32List depthIndex, required Matrix4 viewProjection, required int vertexCount, int? visibleCount, int generation = 0, int dataGeneration = 0})
Creates a new SortResult with the specified parameters.
const

Properties

dataGeneration int
Renderer-assigned splat data generation.
final
depthIndex Uint32List
Depth-sorted indices array.
final
generation int
Renderer-assigned sort request generation.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vertexCount int
Number of vertices that were sorted.
final
viewProjection → Matrix4
View-projection matrix used for sorting.
final
visibleCount int
Number of splats in front of the camera, occupying the prefix [0, visibleCount) of depthIndex. Behind-camera splats land in the tail and can be skipped at draw time. Defaults to vertexCount.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited