TraceCreateCubeTextureFromPixels class final

GraphicsDevice.createCubeTextureFromPixels: a cube texture made from six square faces.

Inheritance

Constructors

TraceCreateCubeTextureFromPixels({required int id, required int size, required TextureFormat format, required List<ByteData> faces, List<List<ByteData>>? mipLevels})
Records a cube of size by size faces of format made from faces and, when given, mipLevels.
const

Properties

faces → List<ByteData>
The six base-level faces in the order +X, −X, +Y, −Y, +Z, −Z.
final
format → TextureFormat
The layout of every face and every level.
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
The id later events name this texture by, among textures.
final
kind → String
The event's name in a trace file.
no setteroverride
mipLevels → List<List<ByteData>>?
The smaller levels: one list per face, in faces' order, each from half size downwards; null for a cube with only its base level.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
Width and height of each face's base level, in texels.
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