Skip to main content

ExternalObjectsOpenGlExtensionFeature Class

Definition​

Assembly:Avalonia.OpenGL
Package:Avalonia
public class ExternalObjectsOpenGlExtensionFeature

Inheritance: object -> ExternalObjectsOpenGlExtensionFeature

Methods​

NameDescription
CreateImageNo summary available.
CreateSemaphoreNo summary available.
GetSupportedFormatsForExternalMemoryTypeNo summary available.
GetSynchronizationCapabilitiesNo summary available.
ImportImageNo summary available.
ImportSemaphoreNo summary available.
TryCreateNo summary available.

CreateImage Method​

public Avalonia.OpenGL.IGlExportableExternalImageTexture CreateImage(string type, Avalonia.PixelSize size, Avalonia.Platform.PlatformGraphicsExternalImageFormat format)

Parameters​

type string

size Avalonia.PixelSize

format Avalonia.Platform.PlatformGraphicsExternalImageFormat

Returns​

Avalonia.OpenGL.IGlExportableExternalImageTexture

CreateSemaphore Method​

public Avalonia.OpenGL.IGlExportableExternalImageTexture CreateSemaphore(string type)

Parameters​

type string

Returns​

Avalonia.OpenGL.IGlExportableExternalImageTexture

GetSupportedFormatsForExternalMemoryType Method​

public System.Collections.Generic.IReadOnlyList<Avalonia.Platform.PlatformGraphicsExternalImageFormat> GetSupportedFormatsForExternalMemoryType(string type)

Parameters​

type string

Returns​

System.Collections.Generic.IReadOnlyList<Avalonia.Platform.PlatformGraphicsExternalImageFormat>

GetSynchronizationCapabilities Method​

public Avalonia.Rendering.Composition.CompositionGpuImportedImageSynchronizationCapabilities GetSynchronizationCapabilities(string imageHandleType)

Parameters​

imageHandleType string

Returns​

Avalonia.Rendering.Composition.CompositionGpuImportedImageSynchronizationCapabilities

ImportImage Method​

public Avalonia.OpenGL.IGlExternalImageTexture ImportImage(Avalonia.Platform.IPlatformHandle handle, Avalonia.Platform.PlatformGraphicsExternalImageProperties properties)

Parameters​

handle Avalonia.Platform.IPlatformHandle

properties Avalonia.Platform.PlatformGraphicsExternalImageProperties

Returns​

Avalonia.OpenGL.IGlExternalImageTexture

ImportSemaphore Method​

public Avalonia.OpenGL.IGlExternalSemaphore ImportSemaphore(Avalonia.Platform.IPlatformHandle handle)

Parameters​

handle Avalonia.Platform.IPlatformHandle

Returns​

Avalonia.OpenGL.IGlExternalSemaphore

TryCreate Method​

public Avalonia.OpenGL.Features.ExternalObjectsOpenGlExtensionFeature TryCreate(Avalonia.OpenGL.IGlContext context)

Parameters​

context Avalonia.OpenGL.IGlContext

Returns​

Avalonia.OpenGL.Features.ExternalObjectsOpenGlExtensionFeature

Properties​

NameDescription
DeviceLuidNo summary available.
DeviceUuidNo summary available.
SupportedExportableExternalImageTypesNo summary available.
SupportedExportableExternalSemaphoreTypesNo summary available.
SupportedImportableExternalImageTypesNo summary available.
SupportedImportableExternalSemaphoreTypesNo summary available.

DeviceLuid Property​

public byte[] DeviceLuid { get; set; }

DeviceUuid Property​

public byte[] DeviceUuid { get; set; }

SupportedExportableExternalImageTypes Property​

public System.Collections.Generic.IReadOnlyList<string> SupportedExportableExternalImageTypes { get; set; }

SupportedExportableExternalSemaphoreTypes Property​

public System.Collections.Generic.IReadOnlyList<string> SupportedExportableExternalSemaphoreTypes { get; set; }

SupportedImportableExternalImageTypes Property​

public System.Collections.Generic.IReadOnlyList<string> SupportedImportableExternalImageTypes { get; set; }

SupportedImportableExternalSemaphoreTypes Property​

public System.Collections.Generic.IReadOnlyList<string> SupportedImportableExternalSemaphoreTypes { get; set; }