RenderStateManager.ZBufferEnable Property

Language:

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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.