NAME
cgGetType - get the type enumerant assigned to a type name
SYNOPSIS
#include <Cg/cg.h> CGtype cgGetNamedUserType(CGprogram program, const char *name);PARAMETERS
- program
The program the type is defined in.
- name
A string containing the type name. The name is case-sensitive.
DESCRIPTION
cgGetNamedUserType returns the enumerant assigned to a user defined type name in program.
RETURN VALUES
Returns the type with the named name. If no such type exists CG_UNKNOWN_TYPE will be returned.
ERRORS
SEE ALSO