MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                 cgGetParameterResourceType(3)



NAME
     cgGetParameterResourceType - get a parameter's resource type

SYNOPSIS
       #include 

       CGtype cgGetParameterResourceType( CGparameter param );


PARAMETERS
     param   The parameter for which the resource type will be
             returned.

RETURN VALUES
     Returns the resource type of param.

     Returns CGUNKNOWNTYPE if the parameter does not belong to
     a program, if the program is not compiled, or if an error
     occurs.

DESCRIPTION
     cgGetParameterResourceType allows the application to
     retrieve the resource type for a parameter in a Cg program.

EXAMPLES
     to-be-written

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

HISTORY
     cgGetParameterResourceType was introduced in Cg 2.0.

SEE ALSO
     cgGetParameterResource, cgGetParameterResourceIndex,
     cgGetParameterResourceSize, cgGetResource,
     cgGetResourceString

















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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