sdfsdfs
This commit is contained in:
12
node_modules/pixi.js/lib/rendering/renderers/shared/state/getAdjustedBlendModeBlend.mjs
generated
vendored
Normal file
12
node_modules/pixi.js/lib/rendering/renderers/shared/state/getAdjustedBlendModeBlend.mjs
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
Reference in New Issue
Block a user