TraceReadback class final
GraphicsDevice.readback: a texture's pixels read back at this point in the
queue.
- Inheritance
-
- Object
- TraceEvent
- TraceReadback
Constructors
- TraceReadback({required int texture, ScreenRect? region})
-
Records a read of
regionof texture idtexture.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
The event's name in a trace file.
no setteroverride
- region → ScreenRect?
-
The rectangle read, in texels; null for the whole texture.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- texture → int
-
The id of the texture read, among textures.
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