TraceDraw class final

PassEncoder.draw: a draw with what is bound.

Inheritance

Constructors

TraceDraw(int pass, {int instanceCount = 1, int firstIndex = 0, int? indexCount})
Records a draw of instanceCount instances over the window of indices from firstIndex in pass pass.
const

Properties

firstIndex → int
The window of the bound indices — P7. Written only when it is not the whole binding, so a trace recorded before windows existed reads as it was recorded and needs no new format version.
final
hashCode → int
The hash code for this object.
no setterinherited
indexCount → int?
How many indices the window covers, a count; null for the rest of the binding from firstIndex.
final
instanceCount → int
How many instances the draw makes, a count; one by default.
final
kind → String
The event's name in a trace file.
no setteroverride
pass → int
The pass the event belongs to, by the number its beginRenderPass was recorded under.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(TraceBlobWriter blob) → Map<String, Object?>
Returns the event as the JSON object a trace file holds, without its kind key, with every byte payload handed to blob and written as the reference it returns.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited