mirror of https://github.com/axmolengine/axmol.git
25 lines
791 B
JavaScript
25 lines
791 B
JavaScript
//
|
|
// OpenGL defines
|
|
//
|
|
|
|
var gl = gl || {};
|
|
|
|
gl.NEAREST = 0x2600;
|
|
gl.LINEAR = 0x2601;
|
|
gl.REPEAT = 0x2901;
|
|
gl.CLAMP_TO_EDGE = 0x812F;
|
|
gl.CLAMP_TO_BORDER = 0x812D;
|
|
gl.LINEAR_MIPMAP_NEAREST = 0x2701;
|
|
gl.NEAREST_MIPMAP_NEAREST = 0x2700;
|
|
gl.ZERO = 0;
|
|
gl.ONE = 1;
|
|
gl.SRC_COLOR = 0x0300;
|
|
gl.ONE_MINUS_SRC_COLOR = 0x0301;
|
|
gl.SRC_ALPHA = 0x0302;
|
|
gl.ONE_MINUS_SRC_ALPHA = 0x0303;
|
|
gl.DST_ALPHA = 0x0304;
|
|
gl.ONE_MINUS_DST_ALPHA = 0x0305;
|
|
gl.DST_COLOR = 0x0306;
|
|
gl.ONE_MINUS_DST_COLOR = 0x0307;
|
|
gl.SRC_ALPHA_SATURATE = 0x0308;
|