NAME
cgGetParameterNamedType - get a program parameter's type
SYNOPSIS
#include <Cg/cg.h> CGtype cgGetParameterNamedType(CGparameter param);PARAMETERS
- param
Specifies the parameter.
DESCRIPTION
cgGetParameterNamedType returns the type of param similarly to cgGetParameterType. However, if the type is a user defined struct it will return the unique enumerant associated with the user defined type instead of CG_STRUCT. =back
RETURN VALUES
Returns the type of param.
ERRORS
CG_INVALID_PARAM_HANDLE_ERROR is generated if prog does not refer to a valid parameter.
SEE ALSO