MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                              cgIsTechnique(3)



NAME
     cgIsTechnique - determine if a technique handle references a
     valid technique

SYNOPSIS
       #include 

       CGbool cgIsTechnique( CGtechnique tech );


PARAMETERS
     tech    The technique handle to check.

RETURN VALUES
     Returns CGTRUE if tech references a valid technique.

     Returns CGFALSE otherwise.

DESCRIPTION
     cgIsTechnique returns CGTRUE if tech references a valid
     technique, CGFALSE otherwise.

EXAMPLES
       if (cgIsTechnique(tech)) {
         /* do something with tech */
       } else {
         /* handle situation where tech is not a valid technique */
       }


ERORS
     None.

HISTORY
     cgIsTechnique was introduced in Cg 1.4.

SEE ALSO
     cgCreateTechnique, cgGetFirstTechnique, cgGetNamedTechnique,
     cgGetNextTechnique, cgGetTechniqueEffect,
     cgGetTechniqueName, cgIsTechniqueValidated,
     cgValidateTechnique














Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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