MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                      cgGetParameterProgram(3)



NAME
     cgGetParameterProgram - get a parameter's parent program

SYNOPSIS
       #include 

       CGprogram cgGetParameterProgram( CGparameter param );


PARAMETERS
     param   The parameter.

RETURN VALUES
     Returns a CGprogram handle to the parent program.

     Returns NUL if the parameter is not a child of a program or
     an error occurs.

DESCRIPTION
     cgGetParameterProgram allows the application to retrieve a
     handle to the program to which a given parameter belongs.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDPARAMHANDLEROR is generated if param is not a
     valid parameter.

HISTORY
     cgGetParameterProgram was introduced in Cg 1.1.

SEE ALSO
     cgCreateProgram, cgGetParameterEffect





















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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