@pixi/constants
Advanced tools
Comparing version 5.0.0-alpha.3 to 5.0.0-rc
/*! | ||
* @pixi/constants - v5.0.0-alpha.3 | ||
* Compiled Tue, 03 Jul 2018 04:08:21 UTC | ||
* @pixi/constants - v5.0.0-rc | ||
* Compiled Fri, 01 Feb 2019 04:50:10 UTC | ||
* | ||
@@ -12,6 +12,5 @@ * @pixi/constants is licensed under the MIT License. | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name ENV | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} WEBGL_LEGACY - Used for older v1 WebGL devices. PixiJS will aim to ensure compatibility | ||
@@ -32,6 +31,5 @@ * with older / less advanced devices. If you experience unexplained flickering prefer this environment. | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name RENDERER_TYPE | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} UNKNOWN - Unknown render type. | ||
@@ -53,7 +51,5 @@ * @property {number} WEBGL - WebGL render type. | ||
* | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name BLEND_MODES | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} NORMAL | ||
@@ -76,2 +72,16 @@ * @property {number} ADD | ||
* @property {number} LUMINOSITY | ||
* @property {number} NORMAL_NPM | ||
* @property {number} ADD_NPM | ||
* @property {number} SCREEN_NPM | ||
* @property {number} NONE | ||
* @property {number} SRC_IN | ||
* @property {number} SRC_OUT | ||
* @property {number} SRC_ATOP | ||
* @property {number} DST_OVER | ||
* @property {number} DST_IN | ||
* @property {number} DST_OUT | ||
* @property {number} DST_ATOP | ||
* @property {number} SUBTRACT | ||
* @property {number} SRC_OVER | ||
* @property {number} ERASE | ||
*/ | ||
@@ -99,2 +109,14 @@ var BLEND_MODES = { | ||
SCREEN_NPM: 19, | ||
NONE: 20, | ||
SRC_OVER: 0, | ||
SRC_IN: 21, | ||
SRC_OUT: 22, | ||
SRC_ATOP: 23, | ||
DST_OVER: 24, | ||
DST_IN: 25, | ||
DST_OUT: 26, | ||
DST_ATOP: 27, | ||
ERASE: 26, | ||
SUBTRACT: 28, | ||
}; | ||
@@ -106,7 +128,6 @@ | ||
* | ||
* @memberof PIXI | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name DRAW_MODES | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} POINTS | ||
@@ -133,7 +154,6 @@ * @property {number} LINES | ||
* | ||
* @memberof PIXI | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name FORMATS | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} RGBA=6408 | ||
@@ -160,7 +180,6 @@ * @property {number} RGB=6407 | ||
* | ||
* @memberof PIXI | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name TARGETS | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} TEXTURE_2D=3553 | ||
@@ -191,7 +210,6 @@ * @property {number} TEXTURE_CUBE_MAP=34067 | ||
* | ||
* @memberof PIXI | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name TYPES | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} UNSIGNED_BYTE=5121 | ||
@@ -221,7 +239,6 @@ * @property {number} UNSIGNED_SHORT=5123 | ||
* | ||
* @memberof PIXI | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name SCALE_MODES | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} LINEAR Smooth scaling | ||
@@ -240,3 +257,3 @@ * @property {number} NEAREST Pixelating scaling | ||
* It can be re-assigned to either CLAMP or REPEAT, depending upon suitability. | ||
* If the texture is non power of two then clamp will be used regardless as webGL can | ||
* If the texture is non power of two then clamp will be used regardless as WebGL can | ||
* only use REPEAT if the texture is po2. | ||
@@ -246,7 +263,6 @@ * | ||
* | ||
* @static | ||
* @constant | ||
* @name WRAP_MODES | ||
* @memberof PIXI | ||
* @type {object} | ||
* @static | ||
* @enum {number} | ||
* @property {number} CLAMP - The textures uvs are clamped | ||
@@ -274,7 +290,6 @@ * @property {number} REPEAT - The texture uvs tile and repeat | ||
* | ||
* @name GC_MODES | ||
* @enum {number} | ||
* @static | ||
* @constant | ||
* @name GC_MODES | ||
* @memberof PIXI | ||
* @type {object} | ||
* @property {number} AUTO - Garbage collection will happen periodically automatically | ||
@@ -291,7 +306,7 @@ * @property {number} MANUAL - Garbage collection will need to be called manually | ||
* | ||
* @name PRECISION | ||
* @memberof PIXI | ||
* @static | ||
* @enum {string} | ||
* @constant | ||
* @name PRECISION | ||
* @memberof PIXI | ||
* @type {object} | ||
* @property {string} LOW='lowp' | ||
@@ -298,0 +313,0 @@ * @property {string} MEDIUM='mediump' |
/*! | ||
* @pixi/constants - v5.0.0-alpha.3 | ||
* Compiled Tue, 03 Jul 2018 04:08:21 UTC | ||
* @pixi/constants - v5.0.0-rc | ||
* Compiled Fri, 01 Feb 2019 04:50:10 UTC | ||
* | ||
@@ -16,6 +16,5 @@ * @pixi/constants is licensed under the MIT License. | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name ENV | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} WEBGL_LEGACY - Used for older v1 WebGL devices. PixiJS will aim to ensure compatibility | ||
@@ -36,6 +35,5 @@ * with older / less advanced devices. If you experience unexplained flickering prefer this environment. | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name RENDERER_TYPE | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} UNKNOWN - Unknown render type. | ||
@@ -57,7 +55,5 @@ * @property {number} WEBGL - WebGL render type. | ||
* | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name BLEND_MODES | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} NORMAL | ||
@@ -80,2 +76,16 @@ * @property {number} ADD | ||
* @property {number} LUMINOSITY | ||
* @property {number} NORMAL_NPM | ||
* @property {number} ADD_NPM | ||
* @property {number} SCREEN_NPM | ||
* @property {number} NONE | ||
* @property {number} SRC_IN | ||
* @property {number} SRC_OUT | ||
* @property {number} SRC_ATOP | ||
* @property {number} DST_OVER | ||
* @property {number} DST_IN | ||
* @property {number} DST_OUT | ||
* @property {number} DST_ATOP | ||
* @property {number} SUBTRACT | ||
* @property {number} SRC_OVER | ||
* @property {number} ERASE | ||
*/ | ||
@@ -103,2 +113,14 @@ var BLEND_MODES = { | ||
SCREEN_NPM: 19, | ||
NONE: 20, | ||
SRC_OVER: 0, | ||
SRC_IN: 21, | ||
SRC_OUT: 22, | ||
SRC_ATOP: 23, | ||
DST_OVER: 24, | ||
DST_IN: 25, | ||
DST_OUT: 26, | ||
DST_ATOP: 27, | ||
ERASE: 26, | ||
SUBTRACT: 28, | ||
}; | ||
@@ -110,7 +132,6 @@ | ||
* | ||
* @memberof PIXI | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name DRAW_MODES | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} POINTS | ||
@@ -137,7 +158,6 @@ * @property {number} LINES | ||
* | ||
* @memberof PIXI | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name FORMATS | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} RGBA=6408 | ||
@@ -164,7 +184,6 @@ * @property {number} RGB=6407 | ||
* | ||
* @memberof PIXI | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name TARGETS | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} TEXTURE_2D=3553 | ||
@@ -195,7 +214,6 @@ * @property {number} TEXTURE_CUBE_MAP=34067 | ||
* | ||
* @memberof PIXI | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name TYPES | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} UNSIGNED_BYTE=5121 | ||
@@ -225,7 +243,6 @@ * @property {number} UNSIGNED_SHORT=5123 | ||
* | ||
* @memberof PIXI | ||
* @static | ||
* @constant | ||
* @memberof PIXI | ||
* @name SCALE_MODES | ||
* @type {object} | ||
* @enum {number} | ||
* @property {number} LINEAR Smooth scaling | ||
@@ -244,3 +261,3 @@ * @property {number} NEAREST Pixelating scaling | ||
* It can be re-assigned to either CLAMP or REPEAT, depending upon suitability. | ||
* If the texture is non power of two then clamp will be used regardless as webGL can | ||
* If the texture is non power of two then clamp will be used regardless as WebGL can | ||
* only use REPEAT if the texture is po2. | ||
@@ -250,7 +267,6 @@ * | ||
* | ||
* @static | ||
* @constant | ||
* @name WRAP_MODES | ||
* @memberof PIXI | ||
* @type {object} | ||
* @static | ||
* @enum {number} | ||
* @property {number} CLAMP - The textures uvs are clamped | ||
@@ -278,7 +294,6 @@ * @property {number} REPEAT - The texture uvs tile and repeat | ||
* | ||
* @name GC_MODES | ||
* @enum {number} | ||
* @static | ||
* @constant | ||
* @name GC_MODES | ||
* @memberof PIXI | ||
* @type {object} | ||
* @property {number} AUTO - Garbage collection will happen periodically automatically | ||
@@ -295,7 +310,7 @@ * @property {number} MANUAL - Garbage collection will need to be called manually | ||
* | ||
* @name PRECISION | ||
* @memberof PIXI | ||
* @static | ||
* @enum {string} | ||
* @constant | ||
* @name PRECISION | ||
* @memberof PIXI | ||
* @type {object} | ||
* @property {string} LOW='lowp' | ||
@@ -302,0 +317,0 @@ * @property {string} MEDIUM='mediump' |
{ | ||
"name": "@pixi/constants", | ||
"version": "5.0.0-alpha.3", | ||
"version": "5.0.0-rc", | ||
"main": "lib/constants.js", | ||
"module": "lib/constants.es.js", | ||
"description": "PixiJS Application", | ||
"description": "Constants used across PixiJS", | ||
"author": "Mat Groves", | ||
@@ -28,7 +28,8 @@ "contributors": [ | ||
"dependencies": { | ||
"ismobilejs": "^0.4.0" | ||
"ismobilejs": "^0.5.1" | ||
}, | ||
"devDependencies": { | ||
"floss": "^2.1.3" | ||
} | ||
"floss": "^2.1.5" | ||
}, | ||
"gitHead": "9026a1bbca9a9d86b7a3b6d5eb4fa2c3145c2b85" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40533
606
+ Addedismobilejs@0.5.2(transitive)
- Removedismobilejs@0.4.1(transitive)
Updatedismobilejs@^0.5.1