Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    RenderingSettings Class

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll
    System.Object → Configuration → RenderingSettings
    Derived from RenderingSettings:

    [DataContract]
    [Display("Rendering", null)]
    public class RenderingSettings : Configuration
    Name Description
    Fields
    AdaptBackBufferToScreen

    Gets or sets a value that if true will make sure that the aspect ratio of screen is kept.

    ColorSpace

    Gets or sets the colorspace.

    DefaultBackBufferHeight

    Gets or sets the height of the back buffer.

    DefaultBackBufferWidth

    Gets or sets the width of the back buffer.

    DefaultGraphicsProfile

    Gets or sets the default graphics profile.

    DisplayOrientation

    Gets or sets the display orientation.

    | Improve this Doc View Source

    Fields


    AdaptBackBufferToScreen

    Gets or sets a value that if true will make sure that the aspect ratio of screen is kept.

    [DataMember(15)]
    public bool AdaptBackBufferToScreen
    Field Value
    Type Description
    System.Boolean

    ColorSpace

    Gets or sets the colorspace.

    [DataMember(30)]
    public ColorSpace ColorSpace
    Field Value
    Type Description
    ColorSpace

    The colorspace.


    DefaultBackBufferHeight

    Gets or sets the height of the back buffer.

    [DataMember(10)]
    public int DefaultBackBufferHeight
    Field Value
    Type Description
    System.Int32

    DefaultBackBufferWidth

    Gets or sets the width of the back buffer.

    [DataMember(0)]
    public int DefaultBackBufferWidth
    Field Value
    Type Description
    System.Int32

    DefaultGraphicsProfile

    Gets or sets the default graphics profile.

    [DataMember(20)]
    public GraphicsProfile DefaultGraphicsProfile
    Field Value
    Type Description
    GraphicsProfile

    DisplayOrientation

    Gets or sets the display orientation.

    [DataMember(40)]
    public RequiredDisplayOrientation DisplayOrientation
    Field Value
    Type Description
    RequiredDisplayOrientation

    Inherited Members

    Configuration.OfflineOnly

    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