NAME
    cgGetNumParentTypes - gets the number of parent types of a given type

SYNOPSIS
      #include <Cg/cg.h>

      int cgGetNumParentTypes(CGtype type);

PARAMETERS
    type    Specifies the child type.

DESCRIPTION
    cgGetNumParentTypes returns the number of parents the child type type
    inherits from.

RETURN VALUES
    Returns the number of parent types. (CGparameter)0 is returned if there
    are no parents.

ERRORS
    This function does not generate any errors.

SEE ALSO
    cgGetParentType

