Retrieves or sets the DepthFormat of the depth stencil surface the device creates.
Definition
Visual BasicPublic Property AutoDepthStencilFormat As DepthFormat C#public DepthFormat AutoDepthStencilFormat { get; set; } C++public: property DepthFormat AutoDepthStencilFormat { DepthFormat get(); void set(DepthFormat value);} JScriptpublic function get AutoDepthStencilFormat() : DepthFormatpublic function set AutoDepthStencilFormat(DepthFormat);
Property Value
Microsoft.DirectX.Direct3D.DepthFormat A DepthFormat enumerated type that describes the format of the automatic depth stencil surface the device creates.This property is read/write.
Microsoft.DirectX.Direct3D.DepthFormat A DepthFormat enumerated type that describes the format of the automatic depth stencil surface the device creates.
Remarks
This member is ignored unless EnableAutoDepthStencil is set to true.