MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                     cgGetParameterSemantic(3)



NAME
     cgGetParameterSemantic - get a parameter's semantic

SYNOPSIS
       #include 

       const char * cgGetParameterSemantic( CGparameter param );


PARAMETERS
     param   The parameter.

RETURN VALUES
     Returns the NUL-terminated semantic string for the
     parameter.

     Returns NUL if an error occurs.

DESCRIPTION
     cgGetParameterSemantic allows the application to retrieve
     the semantic of a parameter in a Cg program.  If a uniform
     parameter does not have a user-assigned semantic, an empty
     string will be returned.  If a varying parameter does not
     have a user-assigned semantic, the semantic string
     corresponding to the compiler-assigned resource for that
     varying will be returned.

EXAMPLES
     to-be-written

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

HISTORY
     cgGetParameterSemantic was introduced in Cg 1.1.

SEE ALSO
     cgGetParameterResource, cgGetParameterResourceIndex,
     cgGetParameterName, cgGetParameterType















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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