NAME
DtTextureGetBlendClr - Get the texture's blend color.
SYNOPSIS
#include <Dt.h>
int DtTextureGetBlendClr( char *name, float *red, float *green, float *blue )
DESCRIPTION
DtTextureGetBlendClr() returns the RGB blend color in the
pointers red, green and blue for the given texture name. The
blend color can be used in combination with the texture to
blend the background material color and the texture. The
blend color may be different from the color specified by the
underlying material.
IMPLEMENTATION
The blend color for textures in the AliasAPI implementation
of Dt is the Rgbmult value from the Color Balance parameters
of the surface texture in the Multi-lister in Alias. It is
the color by which all colors in the texture are multiplied
to generate the final color for display. The default value
for Rgbmult in Alias is white (1, 1, 1).
DIAGNOSTICS
DtTextureGetBlendClr() returns one on success and zero on
failure.
SEE ALSO
DtMtlGetAmbientClr(3W)
DtMtlGetDiffuseClr(3W)
DtMtlGetEmmisiveClr(3W)
DtMtlGetSpecularClr(3W)
FILES
Link with -lDtOMio