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

13 lines
351 B
JavaScript

import { BLEND_TO_NPM } from './const.mjs';
"use strict";
function getAdjustedBlendModeBlend(blendMode, textureSource) {
if (textureSource.alphaMode === "no-premultiply-alpha") {
return BLEND_TO_NPM[blendMode] || blendMode;
}
return blendMode;
}
export { getAdjustedBlendModeBlend };
//# sourceMappingURL=getAdjustedBlendModeBlend.mjs.map