Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Resets the current GraphicsDevice with the specified PresentationParameters.
Syntax
'Declaration
Public Sub Reset ( _
presentationParameters As PresentationParameters _
)
public void Reset (
PresentationParameters presentationParameters
)
public:
void Reset(
PresentationParameters presentationParameters
)
Parameters
- presentationParameters
Type: PresentationParameters
Describes the new presentation parameters. This value cannot be null.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | presentationParameters is null. |
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. |
Requirements
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
See Also
Reference
Reset
GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone