TraceUploadGeometry class final

GraphicsDevice.uploadGeometry: a geometry buffer made from bytes.

Inheritance

Constructors

TraceUploadGeometry({required int id, required GeometryUsage usage, required ByteData bytes})
Records an upload of bytes as buffer id with usage.
const

Properties

bytes → ByteData
The buffer's whole contents, copied when recorded.
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
The id later events name this buffer by, counted among geometry buffers in the order they were created.
final
kind → String
The event's name in a trace file.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
usage → GeometryUsage
Whether the buffer holds vertices or indices, which a backend that binds a buffer to one target for good needs at creation.
final

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