FloatBuilder class
Growable Float32List: vertex/segment data in its final upload layout, emplaced without a conversion copy.
Constructors
- FloatBuilder([int capacity = 1024])
Properties
- bytes → ByteData
-
The filled bytes; hand straight to a texture/buffer upload (which
copies). sublistView bounds are element indices, not bytes.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
no setter
- length ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- view → Float32List
-
A view of the filled prefix. Valid until the next add.
no setter
Methods
-
add2(
double a, double b) → void -
add4(
double a, double b, double c, double d) → void -
add6(
double a, double b, double c, double d, double e, double f) → void -
clear(
) → void -
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
-
operator [](
int i) → double