StripChunkData class

One drawVertices-sized slice of a StripBatchData: raw vertex arrays for up to stripMaxQuadsPerDraw strip quads.

Constructors

StripChunkData(int alphaBase, Float32List positions, Float32List textureCoordinates, Int32List colors, Uint16List indices)

Properties

alphaBase int
Global alpha-texel index of this chunk's texcoord origin: the shader computes the atlas index as uBase + u so per-chunk u stays within stripMaxAlphaColumnsPerDraw (see that constant for why).
final
colors Int32List
Straight (non-premultiplied) ARGB per vertex, 4 ints per strip.
final
hashCode int
The hash code for this object.
no setterinherited
indices Uint16List
Two triangles per quad, 6 indices per strip.
final
positions Float32List
Quad corner positions in device pixels, 8 floats per strip.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textureCoordinates Float32List
Texcoords per the atlas contract above, 8 floats per strip.
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