1 | # Copyright (c) 2001, Stanford University
|
---|
2 | # All rights reserved.
|
---|
3 | #
|
---|
4 | # See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | #-:enable:*glAble able[2];
|
---|
6 | #-:enable:*able[0] = diff_api.Disable;
|
---|
7 | #-:enable:*able[1] = diff_api.Enable;
|
---|
8 | #-:enable:*able[to->depthTest](GL_DEPTH_TEST);
|
---|
9 | #-:enable:*FILLDIRTY(b->enable);
|
---|
10 | #-:enable:*FILLDIRTY(b->dirty);
|
---|
11 | #+:enable:depthTest:GL_DEPTH_TEST
|
---|
12 | :enable:depthTest:GL_DEPTH_TEST
|
---|
13 | :enable:blend:GL_BLEND
|
---|
14 | :enable:alphaTest:GL_ALPHA_TEST
|
---|
15 | :enable:logicOp:GL_COLOR_LOGIC_OP
|
---|
16 | :enable:indexLogicOp:GL_INDEX_LOGIC_OP
|
---|
17 | :enable:dither:GL_DITHER
|
---|
18 | :alphaFunc:alphaTestFunc,alphaTestRef:AlphaFunc
|
---|
19 | :depthFunc:depthFunc:DepthFunc
|
---|
20 | :blendFunc:blendSrcRGB,blendDstRGB:BlendFunc
|
---|
21 | :blendFuncSeparate:blendSrcRGB,blendDstRGB,blendSrcA,blendDstA:BlendFuncSeparateEXT
|
---|
22 | :logicOp:logicOpMode:LogicOp
|
---|
23 | :indexLogicOp:logicOpMode:LogicOp
|
---|
24 | :drawBuffer:drawBuffer:DrawBuffer
|
---|
25 | :readBuffer:readBuffer:ReadBuffer
|
---|
26 | :indexMask:indexWriteMask:IndexMask
|
---|
27 | :colorWriteMask:colorWriteMask|r,g,b,a:ColorMask
|
---|
28 | :clearColor:colorClearValue|r,g,b,a:ClearColor
|
---|
29 | :clearIndex:indexClearValue:ClearIndex
|
---|
30 | :clearDepth:depthClearValue:ClearDepth
|
---|
31 | :clearAccum:accumClearValue|r,g,b,a:ClearAccum
|
---|
32 | :depthMask:depthMask:DepthMask
|
---|
33 | :blendEquation:blendEquation:BlendEquationEXT
|
---|
34 | :blendColor:blendColor|r,g,b,a:BlendColorEXT
|
---|