ICompositionGpuInteropImportSemaphore(ICompositionImportableSharedGpuContextSemaphore) Method

Asynchronously imports a semaphore object. The returned object is immediately usable.

Definition

Namespace: Avalonia.Rendering.Composition
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
C#
ICompositionImportedGpuImage ImportSemaphore(
	ICompositionImportableSharedGpuContextSemaphore image
)

Parameters

image  ICompositionImportableSharedGpuContextSemaphore
A semaphore that belongs to the same GPU context or the same GPU context sharing group as one used by compositor

Return Value

ICompositionImportedGpuImage

See Also