Function
changes blendMode according to texture format
supposed blend mode
whether source is premultiplied
true blend mode for this texture
PIXI.utils correctBlendMode
changes blendMode according to texture format