CompressedTexture class
class CompressedTexture extends Texture {
var mipmaps;
var images;
CompressedTexture( {this.mipmaps, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter} )
: super ( null, mapping, wrapS, wrapT, magFilter, minFilter, format, type ),
images = { "width": width, "height": height };
}
Extends
Texture > CompressedTexture
Constructors
new CompressedTexture({mipmaps, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter}) #
Creates a new Object instance.
Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.
docs inherited from Object
CompressedTexture( {this.mipmaps, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter} )
: super ( null, mapping, wrapS, wrapT, magFilter, minFilter, format, type ),
images = { "width": width, "height": height };
Properties
int anisotropy #
inherited from Texture
int wrapS, wrapT, magFilter, minFilter, format, type, anisotropy
var images #
var images
var mipmaps #
var mipmaps
Operators
Methods
Texture clone() #
inherited from Texture
Texture clone() {
Texture clonedTexture = new Texture( image, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy );
clonedTexture.mipmaps = new List.from( mipmaps );
clonedTexture.offset.setFrom( offset );
clonedTexture.repeat.setFrom( repeat );
return clonedTexture;
}