pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
15 lines (11 loc) • 389 B
JavaScript
;
var _const = require('./const.js');
;
function getAdjustedBlendModeBlend(blendMode, textureSource) {
if (textureSource.alphaMode === "no-premultiply-alpha") {
return _const.BLEND_TO_NPM[blendMode] || blendMode;
}
return blendMode;
}
exports.getAdjustedBlendModeBlend = getAdjustedBlendModeBlend;
//# sourceMappingURL=getAdjustedBlendModeBlend.js.map