Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GameGraphicsParameters Class

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

    Describess how data will be displayed to the screen.

    System.Object → GameGraphicsParameters
    Derived from GameGraphicsParameters:

    public class GameGraphicsParameters
    Name Description
    Fields
    ColorSpace

    Gets or sets the colorspace.

    IsFullScreen

    Gets or sets a value indicating whether the application is in full screen mode.

    PreferredBackBufferFormat

    A SharpDX.DXGI.Format structure describing the display format.

    PreferredBackBufferHeight

    A value that describes the resolution height.

    PreferredBackBufferWidth

    A value that describes the resolution width.

    PreferredDepthStencilFormat

    Gets or sets the depth stencil format

    PreferredFullScreenOutputIndex

    The output (monitor) index to use when switching to fullscreen mode. Doesn't have any effect when windowed mode is used.

    PreferredGraphicsProfile

    Gets or sets the minimum graphics profile.

    PreferredMultisampleCount

    Gets or sets a value indicating the number of sample locations during multisampling.

    PreferredRefreshRate

    The preferred refresh rate

    RequiredAdapterUid

    If populated the engine will try to initialize the device with the same unique id

    SynchronizeWithVerticalRetrace

    Gets or sets a value indicating whether to synochrnize present with vertical blanking.

    | Improve this Doc View Source

    Fields


    ColorSpace

    Gets or sets the colorspace.

    public ColorSpace ColorSpace
    Field Value
    Type Description
    ColorSpace

    IsFullScreen

    Gets or sets a value indicating whether the application is in full screen mode.

    public bool IsFullScreen
    Field Value
    Type Description
    System.Boolean

    PreferredBackBufferFormat

    A SharpDX.DXGI.Format structure describing the display format.

    public PixelFormat PreferredBackBufferFormat
    Field Value
    Type Description
    PixelFormat

    PreferredBackBufferHeight

    A value that describes the resolution height.

    public int PreferredBackBufferHeight
    Field Value
    Type Description
    System.Int32

    PreferredBackBufferWidth

    A value that describes the resolution width.

    public int PreferredBackBufferWidth
    Field Value
    Type Description
    System.Int32

    PreferredDepthStencilFormat

    Gets or sets the depth stencil format

    public PixelFormat PreferredDepthStencilFormat
    Field Value
    Type Description
    PixelFormat

    PreferredFullScreenOutputIndex

    The output (monitor) index to use when switching to fullscreen mode. Doesn't have any effect when windowed mode is used.

    public int PreferredFullScreenOutputIndex
    Field Value
    Type Description
    System.Int32

    PreferredGraphicsProfile

    Gets or sets the minimum graphics profile.

    public GraphicsProfile[] PreferredGraphicsProfile
    Field Value
    Type Description
    GraphicsProfile[]

    PreferredMultisampleCount

    Gets or sets a value indicating the number of sample locations during multisampling.

    public MultisampleCount PreferredMultisampleCount
    Field Value
    Type Description
    MultisampleCount

    PreferredRefreshRate

    The preferred refresh rate

    public Rational PreferredRefreshRate
    Field Value
    Type Description
    Rational

    RequiredAdapterUid

    If populated the engine will try to initialize the device with the same unique id

    public string RequiredAdapterUid
    Field Value
    Type Description
    System.String

    SynchronizeWithVerticalRetrace

    Gets or sets a value indicating whether to synochrnize present with vertical blanking.

    public bool SynchronizeWithVerticalRetrace
    Field Value
    Type Description
    System.Boolean

    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