@pixi/filter-alpha
Advanced tools
Comparing version 5.0.0-rc.2 to 5.0.0-rc.3
/*! | ||
* @pixi/filter-alpha - v5.0.0-rc.2 | ||
* Compiled Mon, 18 Feb 2019 23:45:28 UTC | ||
* @pixi/filter-alpha - v5.0.0-rc.3 | ||
* Compiled Fri, 22 Mar 2019 16:33:44 UTC | ||
* | ||
@@ -8,4 +8,3 @@ * @pixi/filter-alpha is licensed under the MIT License. | ||
*/ | ||
import { Filter } from '@pixi/core'; | ||
import { defaultVertex } from '@pixi/fragments'; | ||
import { Filter, defaultVertex } from '@pixi/core'; | ||
@@ -31,3 +30,3 @@ var fragment = "varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float uAlpha;\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord) * uAlpha;\n}\n"; | ||
*/ | ||
var AlphaFilter = /*@__PURE__*/(function (Filter$$1) { | ||
var AlphaFilter = /*@__PURE__*/(function (Filter) { | ||
function AlphaFilter(alpha) | ||
@@ -37,3 +36,3 @@ { | ||
Filter$$1.call(this, defaultVertex, fragment, { uAlpha: 1 }); | ||
Filter.call(this, defaultVertex, fragment, { uAlpha: 1 }); | ||
@@ -43,4 +42,4 @@ this.alpha = alpha; | ||
if ( Filter$$1 ) AlphaFilter.__proto__ = Filter$$1; | ||
AlphaFilter.prototype = Object.create( Filter$$1 && Filter$$1.prototype ); | ||
if ( Filter ) AlphaFilter.__proto__ = Filter; | ||
AlphaFilter.prototype = Object.create( Filter && Filter.prototype ); | ||
AlphaFilter.prototype.constructor = AlphaFilter; | ||
@@ -47,0 +46,0 @@ |
/*! | ||
* @pixi/filter-alpha - v5.0.0-rc.2 | ||
* Compiled Mon, 18 Feb 2019 23:45:28 UTC | ||
* @pixi/filter-alpha - v5.0.0-rc.3 | ||
* Compiled Fri, 22 Mar 2019 16:33:44 UTC | ||
* | ||
@@ -13,3 +13,2 @@ * @pixi/filter-alpha is licensed under the MIT License. | ||
var core = require('@pixi/core'); | ||
var fragments = require('@pixi/fragments'); | ||
@@ -40,3 +39,3 @@ var fragment = "varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float uAlpha;\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord) * uAlpha;\n}\n"; | ||
Filter.call(this, fragments.defaultVertex, fragment, { uAlpha: 1 }); | ||
Filter.call(this, core.defaultVertex, fragment, { uAlpha: 1 }); | ||
@@ -43,0 +42,0 @@ this.alpha = alpha; |
{ | ||
"name": "@pixi/filter-alpha", | ||
"version": "5.0.0-rc.2", | ||
"version": "5.0.0-rc.3", | ||
"main": "lib/filter-alpha.js", | ||
"module": "lib/filter-alpha.es.js", | ||
"bundle": "dist/filter-alpha.js", | ||
"namespace": "PIXI.filters", | ||
"description": "Filter that applies alpha evenly across the entire display object and any opaque elements it contains", | ||
@@ -22,12 +24,12 @@ "author": "Mat Groves", | ||
"files": [ | ||
"lib" | ||
"lib", | ||
"dist" | ||
], | ||
"dependencies": { | ||
"@pixi/core": "^5.0.0-rc.2", | ||
"@pixi/fragments": "^5.0.0-rc.2" | ||
"@pixi/core": "^5.0.0-rc.3" | ||
}, | ||
"devDependencies": { | ||
"floss": "^2.1.5" | ||
"floss": "^2.2.0" | ||
}, | ||
"gitHead": "53b354f4e01d3baee7223756dd09a3163ad29d0f" | ||
"gitHead": "8bd27c8b903ae2c8f90d91d64e82d65b19ac1cdb" | ||
} |
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
17335
1
11
187
- Removed@pixi/fragments@^5.0.0-rc.2
- Removed@pixi/fragments@5.0.0-rc.2(transitive)
Updated@pixi/core@^5.0.0-rc.3