NAME

cgIsParentType - determine if a type is a parent of another type

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsParentType(CGtype parent, CGtype child);

PARAMETERS

parent

Specifies the parent type.

child

Specifies the child type.

DESCRIPTION

cgIsParentType returns CG_TRUE if parent is a parent type of child. Otherwise CG_FALSE is returned.

ERRORS

This function does not generate any errors.

SEE ALSO

the "cgGetParentType" document