LogoPixi’VN
pixi-jsFunctions

Function: mapWebGLBlendModesToPixi()

> mapWebGLBlendModesToPixi(gl): Record<BLEND_MODES, number[]>

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/state/mapWebGLBlendModesToPixi.d.ts:9

Internal

Maps gl blend combinations to WebGL.

Parameters

gl

WebGL2RenderingContext

Returns

Record<BLEND_MODES, number[]>

Map of gl blend combinations to WebGL.