DataTexture class
class DataTexture extends Texture { DataTexture._internal( image, data, width, height, format, [type, mapping, wrapS, wrapT, magFilter, minFilter] ) : super(image, mapping, wrapS, wrapT, magFilter, minFilter, format, type ) ; factory DataTexture ( data, width, height, format, {type, mapping, wrapS, wrapT, magFilter, minFilter} ) { return new DataTexture._internal( { "data": data, "width": width, "height": height }, data, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter); } }
Extends
Texture > DataTexture
Constructors
factory DataTexture(data, 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
factory DataTexture ( data, width, height, format, {type, mapping, wrapS, wrapT, magFilter, minFilter} ) { return new DataTexture._internal( { "data": data, "width": width, "height": height }, data, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter); }
Properties
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; }