Share via


GraphicsDeviceManager.OnPreparingDeviceSettings Method

Called when the GraphicsDeviceManager is changing the GraphicsDevice settings (during reset or recreation of the GraphicsDevice). Raises the PreparingDeviceSettings event.

Syntax

'Declaration
Protected Overridable Sub OnPreparingDeviceSettings ( _
         sender As Object, _
         args As PreparingDeviceSettingsEventArgs _
)
protected virtual void OnPreparingDeviceSettings (
         Object sender,
         PreparingDeviceSettingsEventArgs args
)
protected:
virtual void OnPreparingDeviceSettings(
         Object sender,
         PreparingDeviceSettingsEventArgs args
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone