Cg Core Runtime API cgIsParentType(3)
NAME
cgIsParentType - determine if a type is a parent of another
type
SYNOPSIS
#include
CGbool cgIsParentType( CGtype parent,
CGtype child );
PARAMETERS
parent The parent type.
child The child type.
RETURN VALUES
Returns CGTRUE if parent is a parent type of child.
Returns CGFALSE otherwise.
DESCRIPTION
cgIsParentType returns CGTRUE if parent is a parent type of
child. Otherwise CGFALSE is returned.
EXAMPLES
to-be-written
ERORS
None.
HISTORY
cgIsParentType was introduced in Cg 1.2.
SEE ALSO
cgGetParentType
Cg Toolkit 2.1 Last change: 1
|