Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/**
* Mipmap mode of the texture, affects downscaled images
*
* @member {PIXI.MIPMAP_MODES}
* @default PIXI.settings.MIPMAP_TEXTURES
*/
this.mipmap = mipmap !== undefined ? mipmap : settings.MIPMAP_TEXTURES;
/**
* Anisotropic filtering level of texture
*
* @member {number}
* @default PIXI.settings.ANISOTROPIC_LEVEL
*/
this.anisotropicLevel = anisotropicLevel !== undefined ? anisotropicLevel : settings.ANISOTROPIC_LEVEL;
/**
* How the texture wraps
* @member {number}
*/
this.wrapMode = wrapMode || settings.WRAP_MODE;
/**
* The scale mode to apply when scaling this texture
*
* @member {PIXI.SCALE_MODES}
* @default PIXI.settings.SCALE_MODE
*/
this.scaleMode = scaleMode !== undefined ? scaleMode : settings.SCALE_MODE;
/**