Texture class abstract interface

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → int
no setter
mipLevelCount → int
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int
no setter

Methods

generateMipmaps() → bool
Fills the levels below the base from it on the GPU, as WebGL's generateMipmap does, and returns true; returns false where the GPU interface cannot, and the caller writes them.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overwrite(ByteData sourceBytes, {int mipLevel = 0, int slice = 0}) → void
Writes sourceBytes, exactly the level's size, into mipLevel of slice (a cube's face).
read() → Future<ByteData>
The texture's first level as RGBA bytes, rows from the top, once the GPU has written it.
toString() → String
A string representation of this object.
inherited

Operators

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