DrawItem class final
One entry in a render list.
Mutable and pooled: entries are reused across frames so building a render list allocates nothing after the first few frames. That matters more in Dart than in JS — a fresh object per visible mesh per frame is exactly the allocation pattern that turns into GC pauses inside the frame budget.
Constructors
- DrawItem()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- material → Material
-
no setter
- node ↔ MeshNode?
-
getter/setter pair
- requireNode → MeshNode
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viewDepth ↔ double
-
Distance from the camera along its forward axis, used by every depth sort.
getter/setter pair
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