GpuPrimitive class final
One primitive's vertex and index buffers.
Properties
- bounds → Aabb3
-
Local bounds.
final
- edgeIndexCount → int
-
How many indices edges holds: two per edge.
final
- edges → GpuBuffer?
-
Its triangles' edges, each once, as pairs of 32-bit indices: what a
wireframe or a selection's highlight draws. Kept only when the
uploader was asked (ModelUploader.keepEdges); null otherwise.
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
Static Methods
-
edgesOf(
List< int> indices) → Uint32List -
The unique edges of the triangles in
indices, as index pairs.