NAME
    cgGLRegisterStates - registers graphics pass states for CgFX files for
    on OpenGL

SYNOPSIS
      #include <Cg/cgGL.h>

      void cgGLRegisterStates(CGcontext ctx);

PARAMETERS
    ctx     The context in which to register the states.

DESCRIPTION
    cgGLRegisterStates registers a set of states for passes in techniques in
    CgFX effect files. These states correspond to the set of OpenGL state
    that is relevant and/or useful to be setting in passes in effect files.
    See the Cg User's Guide for complete documentation of the states that
    are made available after calling cgGLRegisterStates.

ERRORS
    CG_INVALID_CONTEXT_ERROR is generated if context is invalid.

SEE ALSO
    the cgAddState manpage, the cgSetPassState manpage, the cgResetPassState
    manpage, the cgValidatePassState manpage.

