Skip to main content

FbDevOutputOptions Class

Definition

Namespace: Avalonia.LinuxFramebuffer.Output
Assembly: Avalonia.LinuxFramebuffer (in Avalonia.LinuxFramebuffer.dll)

public class FbDevOutputOptions
View Source
InheritanceObject → FbDevOutputOptions

Constructors

FbDevOutputOptions()Initializes a new instance of the FbDevOutputOptions class

Properties

FileNameThe frame buffer device name. Defaults to the value in environment variable FRAMEBUFFER or /dev/fb0 when FRAMEBUFFER is not set
PixelFormatThe required pixel format for the frame buffer. A null value will leave the frame buffer in the current pixel format. Otherwise sets the frame buffer to the required format
RenderDirectlyToMappedMemoryIf set to true, double-buffering will be disabled and scene will be composed directly into mmap-ed memory region While this mode saves a blit, you need to check if it won't cause rendering artifacts your particular device.
ScalingThe initial scale factor to use
UseAsyncFrontBufferBlitIf set to true, FBIO_WAITFORVSYNC ioctl and following memcpy call will run on a dedicated thread saving current one from doing nothing in a blocking call

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.LinuxFramebuffer.Output Namespace