Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gldisableclientstate(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



glEnableClientState(3G)        OpenGL Reference        glEnableClientState(3G)



NAME
     glEnableClientState, glDisableClientState - enable or disable client-side
     capability


C SPECIFICATION
     void glEnableClientState( GLenum array )


PARAMETERS
     array  Specifies the capability to enable.  Symbolic constants
            GLCOLORARRAY, GLEDGEFLAGARRAY, GLINDEXARRAY,
            GLNORMALARRAY, GLTEXTURECOORDARRAY, and GLVERTEXARRAY are
            accepted.

C SPECIFICATION
     void glDisableClientState( GLenum array )


PARAMETERS
     array
          Specifies the capability to disable.

DESCRIPTION
     glEnableClientState and glDisableClientState enable or disable individual
     client-side capabilities. By default, all client-side capabilities are
     disabled.  Both glEnableClientState and glDisableClientState take a
     single argument, array, which can assume one of the following values:

     GLCOLORARRAY           If enabled, the color array is enabled for
                              writing and used during rendering when
                              glDrawArrays or glDrawElement is called. See
                              glColorPointer.

     GLEDGEFLAGARRAY       If enabled, the edge flag array is enabled for
                              writing and used during rendering when
                              glDrawArrays or glDrawElements is called. See
                              glEdgeFlagPointer.

     GLINDEXARRAY           If enabled, the index array is enabled for
                              writing and used during rendering when
                              glDrawArrays or glDrawElements is called. See
                              glIndexPointer.

     GLNORMALARRAY          If enabled, the normal array is enabled for
                              writing and used during rendering when
                              glDrawArrays or glDrawElements is called. See
                              glNormalPointer.

     GLTEXTURECOORDARRAY   If enabled, the texture coordinate array is
                              enabled for writing and used for rendering when
                              glDrawArrays or glDrawElements is called. See



                                                                        Page 1





glEnableClientState(3G)        OpenGL Reference        glEnableClientState(3G)



                              glTexCoordPointer.

     GLVERTEXARRAY          If enabled, the vertex array is enabled for
                              writing and used during rendering when
                              glDrawArrays or glDrawElements is called. See
                              glVertexPointer.

NOTES
     glEnableClientState is available only if the GL version is 1.1 or
     greater.

ERRORS
     GLINVALIDENUM is generated if array is not an accepted value.

     glEnableClientState is not allowed between the execution of glBegin and
     the corresponding glEnd, but an error may or may not be generated. If no
     error is generated, the behavior is undefined.

SEE ALSO
     glArrayElement, glColorPointer, glDrawArrays, glDrawElements,
     glEdgeFlagPointer, glEnable, glGetPointerv, glIndexPointer,
     glInterleavedArrays, glNormalPointer, glTexCoordPointer, glVertexPointer

































                                                                        Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026