NAME
DtMtlIsValid - Get the state of the valid bits for the given
material.
SYNOPSIS
#include <Dt.h>
int DtMtlIsValid( char *name, int valid_bit )
DESCRIPTION
DtMtlIsValid() returns 1 if none of the attributes of a
material indicated by name have changed for the current
frame, otherwise it returns 0. The valid_bit parameter is
used to check if any or all attributes of the material have
changed. The following attributes can be checked to see if
they have change from the previous frame:
DT_MATERIAL - if any of the attributes list below have
changed.
DT_MTL_AMBIENT_CLR - ambient color has changed.
DT_MTL_DIFFUSE_CLR - diffuse color has changed.
DT_MTL_SPECULAR_CLR - specular color has changed.
DT_MTL_EMISSIVE_CLR - emissive color has changed.
DT_MTL_SHININESS - shininess value has changed.
DT_MTL_TRANSPARENCY - transparency value has changed.
DIAGNOSTICS
FILES
Link with -lDtOMio