Arguments enable you to specify special modes and settings. To enable an argument, use the Enable(argument) function. To disable an argument, use the Disable(argument) function. Available arguments are shown in 表 13.7.
ALPHA_TEST AUTO_NORMAL BLEND CLIP_PLANE0 CLIP_PLANE1 CLIP_PLANE2 CLIP_PLANE3 CLIP_PLANE4 CLIP_PLANE5 COLOR_LOGIC_OP COLOR_MATERIAL CULL_FACE DEPTH_TEST DITHER FOG LIGHT0 LIGHT1 LIGHT2 LIGHT3 LIGHT4 |
LIGHT5 LIGHT6 LIGHT7 LIGHTING LINE_SMOOTH LINE_STIPPLE MAP1_COLOR_4 MAP1_INDEX MAP1_NORMAL MAP1_TEXTURE_COORD_1 MAP1_TEXTURE_COORD_2 MAP1_TEXTURE_COORD_3 MAP1_TEXTURE_COORD_4 MAP1_VERTEX_3 MAP1_VERTEX_4 MAP2_COLOR_4 MAP2_INDEX MAP2_NORMAL MAP2_TEXTURE_COORD_1 MAP2_TEXTURE_COORD_2 |
MAP2_TEXTURE_COORD_3 MAP2_TEXTURE_COORD_4 MAP2_VERTEX_3 MAP2_VERTEX_4 NORMALIZE POINT_SMOOTH POLYGON_OFFSET_FILL POLYGON_OFFSET_LINE POLYGON_OFFSET_POINT POLYGON_SMOOTH POLYGON_STIPPLE SCISSOR_TEST STENCIL_TEST |