NAME
    cgGLSetOptimalOptions - sets implicit optimization compiler options for
    a profile

SYNOPSIS
      #include <Cg/cgGL.h>

      void cgGLSetOptimalOptions(CGprofile profile);

PARAMETERS
    profile The profile enumerant.

DESCRIPTION
    cgGLSetOptimalOptions sets implicit compiler arguments that are appended
    to the argument list passed to cgCreateProgram. The arguments are chosen
    based on the the available compiler arguments, GPU, and driver.

    The arguments will be appended to the argument list every time
    cgCreateProgram is called until the last CGcontext is destroyed.

RETURN VALUES
    cgGLSetOptimalOptions does not return any values.

ERRORS
    CG_INVALID_PROFILE_ERROR is generated if profile is invalid.

SEE ALSO
    the cgGLCreateProgram manpage

