NAME
    cgGetProgramOptions - get strings from a program object

SYNOPSIS
      #include <Cg/cg.h>

      char const * const * cgGetProgramOptions( CGprogram prog );

PARAMETERS
    prog    Specifies the Cg program to query.

DESCRIPTION
    cgGetProgramOptions allows the application to retrieve the set of
    options used to compile the program.

    The options are returned in an array of ASCII-encoded NULL-terminated
    character strings. Each string contains a single option. The last
    element of the string array is guaranteed to be NULL.

    NULL is returned if no options exist, or if an error occurs.

ERRORS
    CG_INVALID_PROGRAM_HANDLE_ERROR is generated if prog does not refer to a
    valid program.

SEE ALSO
    the cgGetProgramString manpage

