IGraphicsDeviceService Interface
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
Service providing method to access GraphicsDevice life-cycle.
public interface IGraphicsDeviceService
Name | Description | |
---|---|---|
Properties | ||
GraphicsDevice | Gets the current graphcs device. |
|
Events | ||
DeviceCreated | Occurs when a device is created. |
|
DeviceDisposing | Occurs when a device is disposing. |
|
DeviceReset | Occurs when a device is reseted. |
|
DeviceResetting | Occurs when a device is resetting. |
Properties
GraphicsDevice
Gets the current graphcs device.
GraphicsDevice GraphicsDevice { get; }
Property Value
Type | Description |
---|---|
GraphicsDevice | The graphics device. |
Events
DeviceCreated
Occurs when a device is created.
event EventHandler<EventArgs> DeviceCreated
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |
DeviceDisposing
Occurs when a device is disposing.
event EventHandler<EventArgs> DeviceDisposing
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |
DeviceReset
Occurs when a device is reseted.
event EventHandler<EventArgs> DeviceReset
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |
DeviceResetting
Occurs when a device is resetting.
event EventHandler<EventArgs> DeviceResetting
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |