RenderingSettings Class
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
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. |
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 |