GraphicsDevice.Reset Method ()
Resets the presentation parameters for the current GraphicsDevice.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
Syntax
public void Reset ()
Exceptions
Exception type | Condition |
---|---|
DeviceLostException | The GraphicsDevice is lost but cannot be reset at this time. Therefore, rendering is not possible. |
OutOfMemoryException | Direct3D could not allocate sufficient memory to complete the call." |
See Also
Reference
Reset
GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP