MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                       cgGetTechniqueEffect(3)



NAME
     cgGetTechniqueEffect - get a technique's effect

SYNOPSIS
       #include 

       CGeffect cgGetTechniqueEffect( CGtechnique tech );


PARAMETERS
     tech    The technique.

RETURN VALUES
     Returns a CGeffect handle to the effect.

     Returns NUL if an error occurs.

DESCRIPTION
     cgGetTechniqueEffect allows the application to retrieve a
     handle to the effect to which a given technique belongs.

EXAMPLES
     to-be-written

ERORS
     CGINVALIDTECHNIQUEHANDLEROR is generated if tech is
     not a valid technique.

HISTORY
     cgGetTechniqueEffect was introduced in Cg 1.4.

SEE ALSO
     cgCreateEffect, cgCreateEffectFromFile






















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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