GpuPrimitive class final

One primitive's vertex and index buffers.

Properties

bounds → Aabb3
Local bounds.
final
hashCode → int
The hash code for this object.
no setterinherited
indexCount → int
How many indices to draw.
final
indexType → GpuIndexType
16-bit when every index fits.
final
indices → GpuBuffer
Indices of indexType.
final
material → int?
Material index in its model, or null.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skin → GpuBuffer?
Joints and weights (kSkinFloats floats per vertex) of a skinned primitive, else null.
final
vertices → GpuBuffer
kVertexFloats floats per vertex.
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