RenderStateManager.ZBufferEnable Property (Microsoft.DirectX.Direct3D)
Enables or disables depth buffering.
Definition
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);
Property Value
System.Boolean
Set to true to enable depth buffering, or false to disable it.This property is read/write.
Remarks
The default value is true.