Class GraphicsDeviceServiceLocal
A default implementation of IGraphicsDeviceService
public class GraphicsDeviceServiceLocal : IGraphicsDeviceService
- Inheritance
-
GraphicsDeviceServiceLocal
- Implements
Constructors
GraphicsDeviceServiceLocal(IServiceRegistry, GraphicsDevice)
Initializes a new instance of the GraphicsDeviceServiceLocal class.
public GraphicsDeviceServiceLocal(IServiceRegistry registry, GraphicsDevice graphicsDevice)
Parameters
registry
IServiceRegistryThe registry.
graphicsDevice
GraphicsDeviceThe graphics device.
GraphicsDeviceServiceLocal(GraphicsDevice)
Initializes a new instance of the GraphicsDeviceServiceLocal class.
public GraphicsDeviceServiceLocal(GraphicsDevice graphicsDevice)
Parameters
graphicsDevice
GraphicsDeviceThe graphics device.
Properties
GraphicsDevice
Gets the current graphcs device.
public GraphicsDevice GraphicsDevice { get; }
Property Value
- GraphicsDevice
The graphics device.
Events
DeviceCreated
Occurs when a device is created.
public event EventHandler<EventArgs> DeviceCreated
Event Type
DeviceDisposing
Occurs when a device is disposing.
public event EventHandler<EventArgs> DeviceDisposing
Event Type
DeviceReset
Occurs when a device is reseted.
public event EventHandler<EventArgs> DeviceReset
Event Type
DeviceResetting
Occurs when a device is resetting.
public event EventHandler<EventArgs> DeviceResetting