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 user’s system. The value is either 16 or 32, depending on the user’s 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
Summary of Contents for DIRECTOR MX 2004
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...