DoTextureMapEnvironSwitch(3D) — Stardent Computer Inc. (\*(Dd)
NAME
DoTextureMapEnvironSwitch − Create a primitive attribute object for enabling/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/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 29, 2021