Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GraphicsDeviceServiceLocal Class

    Namespace: Stride.Graphics
    Assembly: 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
    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    Properties


    GraphicsDevice

    public GraphicsDevice GraphicsDevice { get; }
    Property Value
    Type Description
    GraphicsDevice
    | Improve this Doc View Source

    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>

    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