MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                      cgGetParameterContext(3)



NAME
     cgGetParameterContext - get a parameter's parent context

SYNOPSIS
       #include 

       CGcontext cgGetParameterContext( CGparameter param );


PARAMETERS
     param   The parameter.

RETURN VALUES
     Returns a CGcontext handle to the parent context.

     Returns NUL if an error occurs.

DESCRIPTION
     cgGetParameterContext allows the application to retrieve a
     handle to the context to which a given parameter belongs.

EXAMPLES
     to-be-written

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

HISTORY
     cgGetParameterContext was introduced in Cg 1.2.

SEE ALSO
     cgCreateParameter, cgGetParameterProgram






















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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