DepthSorterImpl class
Implementation of DepthSorter using isolate-based processing.
This implementation provides efficient depth sorting with the following optimizations:
- Background isolate processing to avoid blocking the main thread
- Memory reuse to reduce garbage collection pressure
Constructors
- DepthSorterImpl.new({void onSortComplete(SortResult result)?})
- Creates a new DepthSorterImpl with optional sort completion callback.
Properties
-
firstSortComplete
→ Future<
void> -
Returns a future that completes when the first sort finishes
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- onSortComplete → void Function(SortResult result)?
-
Callback invoked when asynchronous sorting completes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Dispose
-
initialize(
) → Future< void> - init
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runSort(
Matrix4 viewProjection, Uint8List buffer, int vertexCount) → SortResult - Run sort
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited