Skip to main content

DrmOutputOptions Class

Definition

Assembly:Avalonia.LinuxFramebuffer
Package:Avalonia.LinuxFramebuffer

DRM Output Options

public class DrmOutputOptions

Inheritance: object -> DrmOutputOptions

Constructors

NameDescription
DrmOutputOptionsNo summary available.

DrmOutputOptions Constructor

public DrmOutputOptions()

Properties

NameDescription
ConnectorTypeSpecifies whether our connector is HDMI-A, DVI, DisplayPort, etc. If null, the preferred connector will be used.
ConnectorTypeIdSpecifies the connector type ID used with Avalonia.LinuxFramebuffer.DrmOutputOptions.ConnectorType. If null, the preferred connector type ID will be used.
EnableInitialBufferSwappingIf true an two cycle buffer swapping is processed at init. Default: True
InitialBufferSwappingColorColor for Avalonia.LinuxFramebuffer.DrmOutputOptions.EnableInitialBufferSwapping Default: R0 G0 B0 A0
OrientationThe orientation of the screen relative to the frame buffer memory orientation Default: Normal
ScalingScaling factor. Default: 1.0
VideoModeSpecifies 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; }

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; }