DrmOutputOptions Class
Definition
DRM Output Options
public class DrmOutputOptions
Constructors
| Name | Description |
|---|---|
| DrmOutputOptions | No summary available. |
DrmOutputOptions Constructor
public DrmOutputOptions()
Properties
| Name | Description |
|---|---|
| ConnectorType | Specifies whether our connector is HDMI-A, DVI, DisplayPort, etc. If null, the preferred connector will be used. |
| ConnectorTypeId | Specifies the connector type ID used with Avalonia.LinuxFramebuffer.DrmOutputOptions.ConnectorType. If null, the preferred connector type ID will be used. |
| EnableInitialBufferSwapping | If true an two cycle buffer swapping is processed at init. Default: True |
| InitialBufferSwappingColor | Color for Avalonia.LinuxFramebuffer.DrmOutputOptions.EnableInitialBufferSwapping Default: R0 G0 B0 A0 |
| Orientation | The orientation of the screen relative to the frame buffer memory orientation Default: Normal |
| Scaling | Scaling factor. Default: 1.0 |
| UsePartialPresentation | Enables partial presentation when supported by EGL, including rotated outputs. When null, uses the platform default, which is currently disabled. |
| VideoMode | Specifies the video mode with which the DrmOutput should be created, if it is not found it will fallback to the preferred mode. If null, the preferred mode will be used. |
ConnectorType Property
Specifies whether our connector is HDMI-A, DVI, DisplayPort, etc. If null, the preferred connector will be used.
public Nullable<Avalonia.LinuxFramebuffer.DrmConnectorType> ConnectorType { get; set; }
ConnectorTypeId Property
Specifies the connector type ID used with Avalonia.LinuxFramebuffer.DrmOutputOptions.ConnectorType. If null, the preferred connector type ID will be used.
public Nullable<uint> ConnectorTypeId { get; set; }
EnableInitialBufferSwapping Property
If true an two cycle buffer swapping is processed at init. Default: True
public bool EnableInitialBufferSwapping { get; set; }
InitialBufferSwappingColor Property
Color for Avalonia.LinuxFramebuffer.DrmOutputOptions.EnableInitialBufferSwapping Default: R0 G0 B0 A0
public Avalonia.Media.Color InitialBufferSwappingColor { get; set; }
Orientation Property
The orientation of the screen relative to the frame buffer memory orientation Default: Normal
public Avalonia.Platform.SurfaceOrientation Orientation { get; set; }
Scaling Property
Scaling factor. Default: 1.0
public double Scaling { get; set; }
UsePartialPresentation Property
Enables partial presentation when supported by EGL, including rotated outputs.
When null, uses the platform default, which is currently disabled.
public Nullable<bool> UsePartialPresentation { get; set; }
VideoMode Property
Specifies the video mode with which the DrmOutput should be created, if it is not found it will fallback to the preferred mode. If null, the preferred mode will be used.
public Nullable<Avalonia.PixelSize> VideoMode { get; set; }