Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GameContextSDL Class

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

    A GameContext to use for rendering to an existing SDL Window.

    System.Object → GameContext → GameContext<Window> → GameContextDesktop<Window> → GameContextSDL
    Derived from GameContextSDL:

    public class GameContextSDL : GameContextDesktop<Window>
    Name Description
    Constructors
    GameContextSDL(Window, Int32, Int32, Boolean)
    | Improve this Doc View Source

    Constructors


    GameContextSDL(Window, Int32, Int32, Boolean)

    public GameContextSDL(Window control, int requestedWidth = 0, int requestedHeight = 0, bool isUserManagingRun = false)
    Parameters
    Type Name Description
    Window control
    System.Int32 requestedWidth
    System.Int32 requestedHeight
    System.Boolean isUserManagingRun

    Inherited Members

    GameContext<Window>.Control
    GameContext.ContextType
    GameContext.IsUserManagingRun
    GameContext.RunCallback
    GameContext.ExitCallback
    GameContext.DeviceCreationFlags
    GameContext.InitializeDatabase
    GameContext.ProductLocation

    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