NAME
DtPolygonMtlGetName - Get the name of the material assigned
to the given polygon.
SYNOPSIS
#include <Dt.h>
int DtPolygonMtlGetName( int shapeID, int groupID, int index, char **name )
DESCRIPTION
DtPolygonMtlGetName() returns the name of the material, via
a pointer to the variable name, for the given polygon index
in the shape, shapeID, and group, groupID. The name array is
an internal buffer. Do not free or modify the name.
OPENMODEL IMPLEMENTATION
The OpenModel implementation of Dt converts per-poly shaders
in OpenModel into multiple groups within a single shape. All
polygons of a group in Dt will correspond to polygons in an
Alias model sharing a single shader. For this reason, all
polygons in a particular shape and group will share the same
material name. The index parameter is ignored.
DIAGNOSTICS
DtPolygonMtlGetName() returns one on success and zero on
failure.
FILES
Link with -lDtOMio