Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/**
* The resolution / device pixel ratio of the texture
*
* @member {number}
* @default PIXI.settings.RESOLUTION
*/
this.resolution = resolution || settings.RESOLUTION;
/**
* 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;
/**