GraphicsDevice.Reset Method ()
Resets the presentation parameters for the current GraphicsDevice.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.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. |
DriverInternalErrorException | Internal driver error. Applications should generally shut down when receiving this error. |
OutOfVideoMemoryException | Direct3D does not have enough display memory to perform the operation. |
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 XP SP2, Windows Vista