TraceUploadGeometry class final
GraphicsDevice.uploadGeometry: a geometry buffer made from bytes.
- Inheritance
-
- Object
- TraceEvent
- TraceUploadGeometry
Constructors
- TraceUploadGeometry({required int id, required GeometryUsage usage, required ByteData bytes})
-
Records an upload of
bytesas bufferidwithusage.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
kindkey, with every byte payload handed tobloband 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