Table of Contents

Class GraphicsDeviceServiceLocal

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

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 IServiceRegistry

The registry.

graphicsDevice GraphicsDevice

The graphics device.

GraphicsDeviceServiceLocal(GraphicsDevice)

Initializes a new instance of the GraphicsDeviceServiceLocal class.

public GraphicsDeviceServiceLocal(GraphicsDevice graphicsDevice)

Parameters

graphicsDevice GraphicsDevice

The 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

EventHandler<EventArgs>

DeviceDisposing

Occurs when a device is disposing.

public event EventHandler<EventArgs> DeviceDisposing

Event Type

EventHandler<EventArgs>

DeviceReset

Occurs when a device is reseted.

public event EventHandler<EventArgs> DeviceReset

Event Type

EventHandler<EventArgs>

DeviceResetting

Occurs when a device is resetting.

public event EventHandler<EventArgs> DeviceResetting

Event Type

EventHandler<EventArgs>