Table of Contents

Interface IGlContextExternalObjectsFeature

Namespace
Avalonia.OpenGL
Assembly
Avalonia.OpenGL.dll
public interface IGlContextExternalObjectsFeature

Properties

DeviceLuid

byte[]? DeviceLuid { get; }

Property Value

byte[]

DeviceUuid

byte[]? DeviceUuid { get; }

Property Value

byte[]

SupportedExportableExternalImageTypes

IReadOnlyList<string> SupportedExportableExternalImageTypes { get; }

Property Value

IReadOnlyList<string>

SupportedExportableExternalSemaphoreTypes

IReadOnlyList<string> SupportedExportableExternalSemaphoreTypes { get; }

Property Value

IReadOnlyList<string>

SupportedImportableExternalImageTypes

IReadOnlyList<string> SupportedImportableExternalImageTypes { get; }

Property Value

IReadOnlyList<string>

SupportedImportableExternalSemaphoreTypes

IReadOnlyList<string> SupportedImportableExternalSemaphoreTypes { get; }

Property Value

IReadOnlyList<string>

Methods

CreateImage(string, PixelSize, PlatformGraphicsExternalImageFormat)

IGlExportableExternalImageTexture CreateImage(string type, PixelSize size, PlatformGraphicsExternalImageFormat format)

Parameters

type string
size PixelSize
format PlatformGraphicsExternalImageFormat

Returns

IGlExportableExternalImageTexture

CreateSemaphore(string)

IGlExportableExternalImageTexture CreateSemaphore(string type)

Parameters

type string

Returns

IGlExportableExternalImageTexture

GetSupportedFormatsForExternalMemoryType(string)

IReadOnlyList<PlatformGraphicsExternalImageFormat> GetSupportedFormatsForExternalMemoryType(string type)

Parameters

type string

Returns

IReadOnlyList<PlatformGraphicsExternalImageFormat>

GetSynchronizationCapabilities(string)

CompositionGpuImportedImageSynchronizationCapabilities GetSynchronizationCapabilities(string imageHandleType)

Parameters

imageHandleType string

Returns

CompositionGpuImportedImageSynchronizationCapabilities

ImportImage(IPlatformHandle, PlatformGraphicsExternalImageProperties)

IGlExternalImageTexture ImportImage(IPlatformHandle handle, PlatformGraphicsExternalImageProperties properties)

Parameters

handle IPlatformHandle
properties PlatformGraphicsExternalImageProperties

Returns

IGlExternalImageTexture

ImportSemaphore(IPlatformHandle)

IGlExternalSemaphore ImportSemaphore(IPlatformHandle handle)

Parameters

handle IPlatformHandle

Returns

IGlExternalSemaphore