SharedGraphicsDeviceManager.PreferredDepthStencilFormat Property
Gets or sets the format of the depth stencil.
Syntax
'Declaration
Public Property PreferredDepthStencilFormat As DepthFormat
public DepthFormat PreferredDepthStencilFormat { get; set; }
public:
property DepthFormat PreferredDepthStencilFormat {
DepthFormat get ();
void set (DepthFormat value);
}
Property Value
Type: DepthFormat
The format of the depth stencil.
Exceptions
Exception type | Condition |
---|---|
ArgumentOutOfRangeException | The DepthStencilFormat requested is an invalid format. Use one of the following: |
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
SharedGraphicsDeviceManager Class
SharedGraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone