MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                        cgGetProgramOptions(3)



NAME
     cgGetProgramOptions - get strings from a program object

SYNOPSIS
       #include 

       char const * const * cgGetProgramOptions( CGprogram program );


PARAMETERS
     program The Cg program to query.

RETURN VALUES
     Returns the options used to compile the program as an array
     of NUL-terminated strings.

     Returns NUL if no options exist, or if an error occurs.

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

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

EXAMPLES
     to-be-written

ERORS
     CGINVALIDPROGRAMHANDLEROR is generated if program is
     not a valid program handle.

HISTORY
     cgGetProgramOptions was introduced in Cg 1.4.

SEE ALSO
     cgGetProgramString
















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™