LinearImage class abstract

Constructors

LinearImage.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() Future
getChannels() Future<int>
getData() Future<Float32List>
getHeight() Future<int>
getWidth() Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decodeToTexture(Uint8List data, {TextureFormat textureFormat = TextureFormat.RGB32F, PixelDataFormat pixelDataFormat = PixelDataFormat.RGB, PixelDataType pixelDataType = PixelDataType.FLOAT, int levels = 1, bool requireAlpha = false}) Future<Texture>
Decodes the image contained in data and returns a texture of the corresponding size with the image set as mip-level 0.