Interface IGraphicsDeviceService
Service providing access to the GraphicsDevice and events that can be subscribed to be notified of when the device is created, reset, or disposed.
public interface IGraphicsDeviceService
- Extension Methods
Properties
GraphicsDevice
Gets the current Graphcs Device.
GraphicsDevice GraphicsDevice { get; }
Property Value
Events
DeviceCreated
Occurs when a device is created.
event EventHandler<EventArgs> DeviceCreated
Event Type
DeviceDisposing
Occurs when a device is being disposed.
event EventHandler<EventArgs> DeviceDisposing
Event Type
DeviceReset
Occurs when a device has been reset.
event EventHandler<EventArgs> DeviceReset
Event Type
DeviceResetting
Occurs when a device is going to be reset.
event EventHandler<EventArgs> DeviceResetting