TraceCreateTexture class final

GraphicsDevice.createTexture, or a render target a pool made: an empty texture.

Inheritance

Constructors

TraceCreateTexture({required int id, required TextureDescriptor spec})
Records a texture made from spec under id id.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → int
The id later events name this texture by, counted among textures 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
spec → TextureDescriptor
Everything the texture was made from: its shape, layers, levels, samples, usage and label. A RenderTargetDescriptor (a pool's target) reads back as one, since a backend makes those its own way.
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