OpenGLSurface.DepthBits
From Xojo Documentation
Property (As Integer )
aOpenGLSurface.DepthBits = newIntegerValue
or
IntegerValue = aOpenGLSurface.DepthBits
Supported for all project types and targets.
or
IntegerValue = aOpenGLSurface.DepthBits
Supported for all project types and targets.
The depth of the depth buffer. The default is 24.