GraphicsDeviceServiceLocal Class
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
A default implementation of IGraphicsDeviceService
System.Object →
GraphicsDeviceServiceLocal
Derived from GraphicsDeviceServiceLocal:
public class GraphicsDeviceServiceLocal : IGraphicsDeviceService
Name | Description | |
---|---|---|
Constructors | ||
GraphicsDeviceServiceLocal(IServiceRegistry, GraphicsDevice) | Initializes a new instance of the GraphicsDeviceServiceLocal class. |
|
GraphicsDeviceServiceLocal(GraphicsDevice) | Initializes a new instance of the GraphicsDeviceServiceLocal class. |
|
Properties | ||
GraphicsDevice | ||
Events | ||
DeviceCreated | ||
DeviceDisposing | ||
DeviceReset | ||
DeviceResetting |
Constructors
GraphicsDeviceServiceLocal(IServiceRegistry, GraphicsDevice)
Initializes a new instance of the GraphicsDeviceServiceLocal class.
public GraphicsDeviceServiceLocal(IServiceRegistry registry, GraphicsDevice graphicsDevice)
Parameters
Type | Name | Description |
---|---|---|
IServiceRegistry | registry | The registry. |
GraphicsDevice | graphicsDevice | The graphics device. |
GraphicsDeviceServiceLocal(GraphicsDevice)
Initializes a new instance of the GraphicsDeviceServiceLocal class.
public GraphicsDeviceServiceLocal(GraphicsDevice graphicsDevice)
Parameters
Type | Name | Description |
---|---|---|
GraphicsDevice | graphicsDevice | The graphics device. |
Properties
GraphicsDevice
public GraphicsDevice GraphicsDevice { get; }
Property Value
Type | Description |
---|---|
GraphicsDevice |
Events
DeviceCreated
public event EventHandler<EventArgs> DeviceCreated
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |
DeviceDisposing
public event EventHandler<EventArgs> DeviceDisposing
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |
DeviceReset
public event EventHandler<EventArgs> DeviceReset
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |
DeviceResetting
public event EventHandler<EventArgs> DeviceResetting
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |