Files
nothoughts/node_modules/pixi.js/lib/rendering/renderers/shared/state/getAdjustedBlendModeBlend.js
2025-08-04 18:57:35 +02:00

15 lines
389 B
JavaScript

'use strict';
var _const = require('./const.js');
"use strict";
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