TraceOverwriteTexture class final

GraphicsDevice.overwriteTexture: a region of a texture written from RGBA8 bytes.

Inheritance

Constructors

TraceOverwriteTexture({required int texture, required ByteData rgba, ScreenRect? region, int mipLevel = 0})
Records rgba written into region of texture id texture.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
kind → String
The event's name in a trace file.
no setteroverride
mipLevel → int
The level the call named. The device refuses any but zero, and a trace records what was asked.
final
region → ScreenRect?
The rectangle written, in texels; null for the whole texture.
final
rgba → ByteData
Raw RGBA8 bytes, four per texel, row-major from the top, covering region.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
texture → int
The id of the texture written, 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 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