Home Reference Source

src/enums/ColorChannel.js

/**
 * A color channel enumeration.
 *
 * @type {Object}
 * @property {Number} RED - Red.
 * @property {Number} GREEN - Green.
 * @property {Number} BLUE - Blue.
 * @property {Number} ALPHA - Alpha.
 */

export const ColorChannel = {
	RED: 0,
	GREEN: 1,
	BLUE: 2,
	ALPHA: 3
};