DataTexture constructor
DataTexture([])
Implementation
DataTexture(
[data, int? width, int? height, format, type, mapping, wrapS, wrapT, magFilter, minFilter, anisotropy, encoding])
: super(null, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, encoding) {
image = ImageElement(data: data, width: width ?? 1, height: height ?? 1);
generateMipmaps = false;
flipY = false;
unpackAlignment = 1;
}