pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
9 lines (8 loc) • 360 B
TypeScript
import type { BLEND_MODES } from '../../shared/state/const';
import type { GlRenderingContext } from '../context/GlRenderingContext';
/**
* Maps gl blend combinations to WebGL.
* @param gl
* @returns {object} Map of gl blend combinations to WebGL.
*/
export declare function mapWebGLBlendModesToPixi(gl: GlRenderingContext): Record<BLEND_MODES, number[]>;