NAME fglIsEnabled - test whether a capability is enabled FORTRAN SPECIFICATION LOGICAL*1 fglIsEnabled( INTEGER*4 cap ) PARAMETERS cap Specifies a symbolic constant indicating a GL capability. DESCRIPTION fglIsEnabled returns GL_TRUE if cap is an enabled capability and returns GL_FALSE otherwise. Initially all capabilities except GL_DITHER are disabled; GL_DITHER is initially enabled. The following capabilities are accepted for cap: Constant See __________________________________________________________________ GL_ALPHA_TEST fglAlphaFunc GL_AUTO_NORMAL fglEvalCoord GL_BLEND fglBlendFunc, fglLogicOp GL_CLIP_PLANEi fglClipPlane GL_COLOR_ARRAY fglColorPointer GL_COLOR_LOGIC_OP fglLogicOp GL_COLOR_MATERIAL fglColorMaterial GL_CULL_FACE fglCullFace GL_DEPTH_TEST fglDepthFunc, fglDepthRange GL_DITHER fglEnable GL_EDGE_FLAG_ARRAY fglEdgeFlagPointer GL_FOG fglFog GL_INDEX_ARRAY fglIndexPointer GL_INDEX_LOGIC_OP fglLogicOp GL_LIGHTi fglLightModel, fglLight GL_LIGHTING fglMaterial, fglLightModel, fglLight GL_LINE_SMOOTH fglLineWidth GL_LINE_STIPPLE fglLineStipple GL_MAP1_COLOR_4 fglMap1, fglMap2 GL_MAP2_TEXTURE_COORD_2 fglMap2 GL_MAP2_TEXTURE_COORD_3 fglMap2 GL_MAP2_TEXTURE_COORD_4 fglMap2 GL_MAP2_VERTEX_3 fglMap2 GL_MAP2_VERTEX_4 fglMap2 GL_NORMAL_ARRAY fglNormalPointer GL_NORMALIZE fglNormal GL_POINT_SMOOTH fglPointSize GL_POLYGON_SMOOTH fglPolygonMode GL_POLYGON_OFFSET_FILL fglPolygonOffset GL_POLYGON_OFFSET_LINE fglPolygonOffset GL_POLYGON_OFFSET_POINT fglPolygonOffset GL_POLYGON_STIPPLE fglPolygonStipple GL_SCISSOR_TEST fglScissor GL_STENCIL_TEST fglStencilFunc, fglStencilOp GL_TEXTURE_1D fglTexImage1D GL_TEXTURE_2D fglTexImage2D GL_TEXTURE_COORD_ARRAY fglTexCoordPointer GL_TEXTURE_GEN_Q fglTexGen GL_TEXTURE_GEN_R fglTexGen GL_TEXTURE_GEN_S fglTexGen GL_TEXTURE_GEN_T fglTexGen GL_VERTEX_ARRAY fglVertexPointer NOTES If an error is generated, fglIsEnabled returns 0. GL_COLOR_LOGIC_OP, GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_INDEX_ARRAY, GL_INDEX_LOGIC_OP, GL_NORMAL_ARRAY, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are only available if the GL version is 1.1 or greater ERRORS GL_INVALID_ENUM is generated if cap is not an accepted value. GL_INVALID_OPERATION is generated if fglIsEnabled is executed between the execution of fglBegin and the corresponding execution of fglEnd. SEE ALSO fglEnable, fglEnableClientState