GraphicsDeviceManager.OnPreparingDeviceSettings Method
Called when the GraphicsDeviceManager is changing the GraphicsDevice settings (during reset or recreation of the GraphicsDevice). Raises the PreparingDeviceSettings event.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)
Syntax
protected virtual void OnPreparingDeviceSettings (
Object sender,
PreparingDeviceSettingsEventArgs args
)
Parameters
- sender
The GraphicsDeviceManager. - args
The graphics device information to modify.
See Also
Reference
GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista