Share via


RenderToEnvironmentDescription.DepthStencil Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a value that indicates whether the z-buffer is needed.

Definition

Visual Basic Public Property DepthStencil As Boolean
C# public bool DepthStencil { get; set; }
C++ public:
property bool DepthStencil {
        bool get();
        void set(bool value);
}
JScript public function get DepthStencil() : boolean
public function set DepthStencil(boolean);

Property Value

System.Boolean
Value that is true if the z-buffer is needed, or false if it is not.

This property is read/write.