TraceCreateCubeTextureFromPixels class final
GraphicsDevice.createCubeTextureFromPixels: a cube texture made from six
square faces.
- Inheritance
-
- Object
- TraceEvent
- TraceCreateCubeTextureFromPixels
Constructors
-
TraceCreateCubeTextureFromPixels({required int id, required int size, required TextureFormat format, required List<
ByteData> faces, List<List< ? mipLevels})ByteData> > -
Records a cube of
sizebysizefaces offormatmade fromfacesand, 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
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