Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    IGraphicsDeviceService Interface

    Namespace: Stride.Graphics
    Assembly: 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.

    | Improve this Doc View Source

    Properties


    GraphicsDevice

    Gets the current graphcs device.

    GraphicsDevice GraphicsDevice { get; }
    Property Value
    Type Description
    GraphicsDevice

    The graphics device.

    | Improve this Doc View Source

    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>

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation