RasterizerState.GraphicsDeviceResetting Method (Microsoft.Xna.Framework.Graphics)

Called before the device is reset. Allows graphics resources to invalidate their state so they can be recreated after the device reset. Warning: This may be called after a call to Dispose() up until the resource is garbage collected.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
protected internal void GraphicsDeviceResetting()

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Supported in:

 Windows DirectX Desktop