Table of Contents

Interface IGraphicsDeviceService

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

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

GraphicsDevice

Events

DeviceCreated

Occurs when a device is created.

event EventHandler<EventArgs> DeviceCreated

Event Type

EventHandler<EventArgs>

DeviceDisposing

Occurs when a device is being disposed.

event EventHandler<EventArgs> DeviceDisposing

Event Type

EventHandler<EventArgs>

DeviceReset

Occurs when a device has been reset.

event EventHandler<EventArgs> DeviceReset

Event Type

EventHandler<EventArgs>

DeviceResetting

Occurs when a device is going to be reset.

event EventHandler<EventArgs> DeviceResetting

Event Type

EventHandler<EventArgs>