glIsEnabled man page on MacOSX
[printable version]
GLISENABLED(3G) OpenGL 3.3 GLISENABLED(3G)
NAME
glIsEnabled - test whether a capability is enabled
C SPECIFICATION
GLboolean glIsEnabled(GLenum cap);
PARAMETERS
cap
Specifies a symbolic constant indicating a GL capability.
DESCRIPTION
glIsEnabled 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_BLEND │ glBlendFunc(), glLogicOp() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_CLIP_DISTANCEi │ glEnable() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_COLOR_LOGIC_OP │ glLogicOp() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_CULL_FACE │ glCullFace() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_DEPTH_CLAMP │ glEnable() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_DEPTH_TEST │ glDepthFunc(), │
│ │ glDepthRange() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_DITHER │ glEnable() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_FRAMEBUFFER_SRGB │ glEnable() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_LINE_SMOOTH │ glLineWidth() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_MULTISAMPLE │ glSampleCoverage() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_POLYGON_SMOOTH │ glPolygonMode() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_POLYGON_OFFSET_FILL │ glPolygonOffset() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_POLYGON_OFFSET_LINE │ glPolygonOffset() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_POLYGON_OFFSET_POINT │ glPolygonOffset() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_PROGRAM_POINT_SIZE │ glEnable() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_PRIMITIVE_RESTART │ glEnable(), │
│ │ glPrimitiveRestartIndex() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_SAMPLE_ALPHA_TO_COVERAGE │ glSampleCoverage() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_SAMPLE_ALPHA_TO_ONE │ glSampleCoverage() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_SAMPLE_COVERAGE │ glSampleCoverage() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_SAMPLE_MASK │ glEnable() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_SCISSOR_TEST │ glScissor() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_STENCIL_TEST │ glStencilFunc(), │
│ │ glStencilOp() │
├─────────────────────────────────┼─────────────────────────────┤
│GL_TEXTURE_CUBEMAP_SEAMLESS │ glEnable() │
└─────────────────────────────────┴─────────────────────────────┘
NOTES
If an error is generated, glIsEnabled returns GL_FALSE.
ERRORS
GL_INVALID_ENUM is generated if cap is not an accepted value.
SEE ALSO
glEnable(), glGet()
COPYRIGHT
Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
under the SGI Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB/.
OpenGL 3.3 03/08/2011 GLISENABLED(3G)
[top]
List of man pages available for MacOSX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|