Socket
Socket
Sign inDemoInstall

@pixi/constants

Package Overview
Dependencies
Maintainers
3
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/constants - npm Package Compare versions

Comparing version 5.0.0-rc to 5.0.0-rc.2

30

lib/constants.es.js
/*!
* @pixi/constants - v5.0.0-rc
* Compiled Fri, 01 Feb 2019 04:50:10 UTC
* @pixi/constants - v5.0.0-rc.2
* Compiled Mon, 18 Feb 2019 23:45:28 UTC
*

@@ -267,2 +267,26 @@ * @pixi/constants is licensed under the MIT License.

/**
* Mipmap filtering modes that are supported by pixi.
*
* The {@link PIXI.settings.MIPMAP_TEXTURES} affects default texture filtering.
* Mipmaps are generated for a baseTexture if its `mipmap` field is `ON`,
* or its `POW2` and texture dimensions are powers of 2.
* Due to platform restriction, `ON` option will work like `POW2` for webgl-1.
*
* This property only affects WebGL.
*
* @name MIPMAP_MODES
* @memberof PIXI
* @static
* @enum {number}
* @property {number} OFF - No mipmaps
* @property {number} POW2 - Generate mipmaps if texture dimensions are pow2
* @property {number} ON - Always generate mipmaps
*/
var MIPMAP_MODES = {
OFF: 0,
POW2: 1,
ON: 2,
};
/**
* The gc modes that are supported by pixi.

@@ -309,3 +333,3 @@ *

export { ENV, RENDERER_TYPE, BLEND_MODES, DRAW_MODES, FORMATS, TARGETS, TYPES, SCALE_MODES, WRAP_MODES, GC_MODES, PRECISION };
export { ENV, RENDERER_TYPE, BLEND_MODES, DRAW_MODES, FORMATS, TARGETS, TYPES, SCALE_MODES, WRAP_MODES, MIPMAP_MODES, GC_MODES, PRECISION };
//# sourceMappingURL=constants.es.js.map
/*!
* @pixi/constants - v5.0.0-rc
* Compiled Fri, 01 Feb 2019 04:50:10 UTC
* @pixi/constants - v5.0.0-rc.2
* Compiled Mon, 18 Feb 2019 23:45:28 UTC
*

@@ -271,2 +271,26 @@ * @pixi/constants is licensed under the MIT License.

/**
* Mipmap filtering modes that are supported by pixi.
*
* The {@link PIXI.settings.MIPMAP_TEXTURES} affects default texture filtering.
* Mipmaps are generated for a baseTexture if its `mipmap` field is `ON`,
* or its `POW2` and texture dimensions are powers of 2.
* Due to platform restriction, `ON` option will work like `POW2` for webgl-1.
*
* This property only affects WebGL.
*
* @name MIPMAP_MODES
* @memberof PIXI
* @static
* @enum {number}
* @property {number} OFF - No mipmaps
* @property {number} POW2 - Generate mipmaps if texture dimensions are pow2
* @property {number} ON - Always generate mipmaps
*/
var MIPMAP_MODES = {
OFF: 0,
POW2: 1,
ON: 2,
};
/**
* The gc modes that are supported by pixi.

@@ -322,4 +346,5 @@ *

exports.WRAP_MODES = WRAP_MODES;
exports.MIPMAP_MODES = MIPMAP_MODES;
exports.GC_MODES = GC_MODES;
exports.PRECISION = PRECISION;
//# sourceMappingURL=constants.js.map

4

package.json
{
"name": "@pixi/constants",
"version": "5.0.0-rc",
"version": "5.0.0-rc.2",
"main": "lib/constants.js",

@@ -33,3 +33,3 @@ "module": "lib/constants.es.js",

},
"gitHead": "9026a1bbca9a9d86b7a3b6d5eb4fa2c3145c2b85"
"gitHead": "53b354f4e01d3baee7223756dd09a3163ad29d0f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc