OpenGLTexture constructor
OpenGLTexture(
- dynamic openGLTexture,
- dynamic mapping,
- dynamic wrapS,
- dynamic wrapT,
- dynamic magFilter,
- dynamic minFilter,
- dynamic format,
- dynamic type,
- dynamic anisotropy,
Implementation
OpenGLTexture(this.openGLTexture, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy)
: super(null, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, null) {
isOpenGLTexture = true;
this.format = format ?? RGBAFormat;
this.minFilter = minFilter ?? LinearFilter;
this.magFilter = magFilter ?? LinearFilter;
generateMipmaps = false;
needsUpdate = true;
}