Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IGraphicsDeviceFactory Interface

    Namespace: Stride.Games
    Assembly: Stride.Games.dll

    public interface IGraphicsDeviceFactory
    Name Description
    Methods
    ChangeOrCreateDevice(GraphicsDevice, GraphicsDeviceInformation)
    FindBestDevices(GameGraphicsParameters)
    | Improve this Doc View Source

    Methods


    ChangeOrCreateDevice(GraphicsDevice, GraphicsDeviceInformation)

    GraphicsDevice ChangeOrCreateDevice(GraphicsDevice currentDevice, GraphicsDeviceInformation deviceInformation)
    Parameters
    Type Name Description
    GraphicsDevice currentDevice
    GraphicsDeviceInformation deviceInformation
    Returns
    Type Description
    GraphicsDevice

    FindBestDevices(GameGraphicsParameters)

    List<GraphicsDeviceInformation> FindBestDevices(GameGraphicsParameters graphicsParameters)
    Parameters
    Type Name Description
    GameGraphicsParameters graphicsParameters
    Returns
    Type Description
    System.Collections.Generic.List<GraphicsDeviceInformation>

    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