Avalonia.Platform Namespace
Classes
AssetLoader | Loads assets compiled into the application binary. |
KnownPlatformGraphicsExternalImageHandleTypes | Describes various GPU memory handle types that are currently supported by Avalonia graphics backends |
KnownPlatformGraphicsExternalSemaphoreHandleTypes | Describes various GPU semaphore handle types that are currently supported by Avalonia graphics backends |
LockedFramebuffer | |
OptionalFeatureProviderExtensions | |
PixelFormats | |
PlatformColorValues | Information about current system color values, including information about dark mode and accent colors. |
PlatformGraphicsContextLostException | |
PlatformGraphicsDeviceAdapterDescription | |
PlatformHandle | Represents a platform-specific handle. |
ScopedResource(T) | |
Screen | Represents a single display screen. |
StandardAssetLoader | Loads assets compiled into the application binary. Unstable. |
Structures
PixelFormat | |
PlatformGraphicsExternalImageProperties |
Interfaces
IApplicationPlatformEvents | Unstable. |
IAssetLoader | Loads assets compiled into the application binary. Unstable. |
IExternalObjectsHandleWrapRenderInterfaceContextFeature | This interface allows proper management of ref-counted platform handles. If we immediately wrap the handle, the caller can destroy its copy immediately after the call This is needed for MoltenVK-based users that can e.g. get an MTLSharedEvent from a VkSemaphore. This does NOT actually increase the ref-counter of MTLSharedEvent, since it's declared as __unsafe_unretained in vulkan headers. Same happens with exporting an IOSurfaceRef from a VkImage. So in a case when the VkSemaphore or VkImage is destroyed, the "handle" which is actually a pointer will be pointing to a dead object. To prevent this we need to increase the reference counter in a handle-specific means synchronously before returning control back to the user. This is not needed for fds or DXGI handles, since those are created on demand as proper NT handles Unstable. Not client implementable. |
IExternalObjectsRenderInterfaceContextFeature | Unstable. |
IExternalObjectsWrappedGpuHandle | Unstable. Not client implementable. |
IGeometryContext | Describes a geometry using drawing commands. |
IGeometryContext2 | |
ILockedFramebuffer | |
IMacOSTopLevelPlatformHandle | Unstable. |
INativePlatformHandleSurface | Unstable. |
IOptionalFeatureProvider | |
IPlatformBehaviorInhibition | Allows to inhibit platform specific behavior. |
IPlatformGraphics | Unstable. |
IPlatformGraphicsContext | Unstable. |
IPlatformGraphicsReadyStateFeature | Unstable. |
IPlatformGraphicsWithFeatures | Unstable. |
IPlatformHandle | Represents a platform-specific handle. |
IPlatformSettings | The IPlatformSettings interface represents a contract for accessing platform-specific settings and information. Some of these settings might be changed by used globally in the OS in runtime. Not client implementable. |
IScopedResource(T) |
Enumerations
AlphaFormat | Describes how to interpret the alpha component of a pixel. |
ColorContrastPreference | System high contrast preference. |
ExtendClientAreaChromeHints | Hint for Window Chrome when ClientArea is Extended. |
FormFactorType | |
PlatformGraphicsExternalImageFormat | |
PlatformThemeVariant | System theme variant or mode. |
ScreenOrientation | Describes the orientation of a screen. |