DoTextureMapEnvironSwitch(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoTextureMapEnvironSwitch − Create a primitive attribute object for enabling or disabling environment mapping
SYNOPSIS
C:
DtObject DoTextureMapEnvironSwitch(switchvalue)
DtSwitch switchvalue;
FORTRAN:
INTEGER∗4 DOTMES(SWVAL)
INTEGER∗4 SWVAL
DESCRIPTION
DoTextureMapEnvironSwitch creates a primitive attribute object that enables or disables environment mapping. The switchvalue parameter is used to specify whether or not the shading of subsequent primitive objects can be affected by environment mapping.
DcOff <DCOFF>
The primitive object will ignore any environment maps that have been defined with DoTextureMapEnviron <DOTMDC>.
DcOn <DCON>
The primitive object will be environment mapped as specified by the DoTextureMapEnviron attribute, whenever possible.
DEFAULTS
The default for DoTextureMapEnvironSwitch is DcOff <DCOFF>.
SEE ALSO
September 02, 1992