RenderStateManager.ZBufferEnable Property (Microsoft.DirectX.Direct3D)
Enables or disables depth buffering.
Visual Basic Public Property ZBufferEnable As Boolean C# public bool ZBufferEnable { get; set; } C++ public:
property bool ZBufferEnable {
bool get();
void set(bool value);
}JScript public function get ZBufferEnable() : boolean
public function set ZBufferEnable(boolean);
System.Boolean
This property is read/write.
Set to true to enable depth buffering, or false to disable it.
The default value is true.
Show: