UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

16 lines (14 loc) 659 B
/** * @author Benjamin D. Richards <benjamindrichards@gmail.com> * @copyright 2013-2026 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @typedef {object} Phaser.Types.Renderer.WebGL.WebGLBlendParameters * @since 4.0.0 * * @property {GLboolean} [enabled] Whether blending is enabled. * @property {GLclampf[]} [color] The blend color (RGBA, 0-1). * @property {GLenum[]} [equation] The blend equation. The first value is the RGB equation and the second is the alpha equation. * @property {GLenum[]} [func] The blend function. The values are `srcRGB`, `dstRGB`, `srcAlpha`, `dstAlpha`. */