StripBatchData class
A flush batch in portable form: everything needed to draw its strips with one shader paint - chunks draw calls sharing one alpha atlas - tagged with the flushOrdinal of the flush point that emitted it.
Constructors
-
StripBatchData.raw(int flushOrdinal, List<
StripChunkData> chunks, Uint8List atlasPixels, int atlasWidth, int atlasHeight, int stripCount) - Test/codec seam: builds a batch from already-materialized arrays.
Properties
- atlasHeight → int
-
final
- atlasPixels → Uint8List
-
final
- atlasWidth → int
-
final
-
chunks
→ List<
StripChunkData> -
final
- flushOrdinal → int
-
Which flush point (0-based, counting every flush point including empty
ones) of the binning walk emitted this batch. A headless binner and a
live device replaying the same command list produce the same ordinals -
the parity invariant precomputed strip plans ride on.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stripCount → int
-
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
Static Methods
-
of(
StripBuffer strips, int flushOrdinal) → StripBatchData? -
Snapshots
strips(the generator reuses its buffers, so all data is copied) into draw-ready form, or null when the buffer is empty.