User Guide

698 Chapter 14: Properties
See also
fog
colorBufferDepth
Usage
getRendererServices().colorBufferDepth
Description
3D rendererServices property; indicates the color precision of the hardware output buffer of
the users system. The value is either 16 or 32, depending on the users hardware settings.
This property can be tested but not set.
Example
This statement shows that the colorBufferDepth value of the user’s video card is 32.
put getRendererServices().colorBufferDepth
-- 32
See also
getRendererServices(), getHardwareInfo(), depthBufferDepth
colorDepth
Usage
-- Lingo syntax
_system.colorDepth
// JavaScript syntax
_system.colorDepth;
Description
System property; determines the color depth of the computer’s monitor. Read/write.
In Windows, using this property lets you check and set the monitor’s color depth. Some video
card and driver combinations may not enable you to set the
colorDepth property. Always
verify that the color depth has actually changed after you attempt to set it.
On the Macintosh, this property lets you check the color depth of different monitors and
change it when appropriate.
Possible values are the following:
1
Black and white
2
4 colors
4
16 colors
8
256 colors
16
32,768 or 65,536 colors
32
16,777,216 colors