SpriteSurface.Depth Property

Syntax

Depth as Integer


Bit depth of the spritesurface area. May take on values of 0, 8,16, or 32.

Specifying 0 causes the spritesurface to automatically match its bit depth to the depth of the monitor at the time the spritesurface was opened. The Depth property can be changed on the fly.