Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IGraphicsDeviceManager Interface

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

    Defines the interface for an object that manages a GraphicsDevice.

    public interface IGraphicsDeviceManager
    Name Description
    Methods
    BeginDraw()

    Starts the drawing of a frame.

    CreateDevice()

    Called to ensure that the device manager has created a valid device.

    EndDraw(Boolean)

    Called by the game at the end of drawing; if requested, presents the final rendering.

    | Improve this Doc View Source

    Methods


    BeginDraw()

    Starts the drawing of a frame.

    bool BeginDraw()
    Returns
    Type Description
    System.Boolean

    true if XXXX, false otherwise


    CreateDevice()

    Called to ensure that the device manager has created a valid device.

    void CreateDevice()

    EndDraw(Boolean)

    Called by the game at the end of drawing; if requested, presents the final rendering.

    void EndDraw(bool present)
    Parameters
    Type Name Description
    System.Boolean present

    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