MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                       cgGetParameterEffect(3)



NAME
     cgGetParameterEffect - get a parameter's parent program

SYNOPSIS
       #include 

       CGeffect cgGetParameterEffect( CGparameter param );


PARAMETERS
     param   The parameter.

RETURN VALUES
     Returns a CGeffect handle to the parent effect.

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

DESCRIPTION
     cgGetParameterEffect allows the application to retrieve a
     handle to the effect to which a given parameter belongs.

EXAMPLES
     to-be-written

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

HISTORY
     cgGetParameterEffect was introduced in Cg 1.5.

SEE ALSO
     cgCreateEffect, cgGetParameterProgram, cgCreateParameter





















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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