Skip to main content

ImportSemaphore(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)

ICompositionImportedGpuImage ImportSemaphore(
ICompositionImportableSharedGpuContextSemaphore image
)

Parameters​

  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​

Reference​

ICompositionGpuInterop Interface
ImportSemaphore Overload
Avalonia.Rendering.Composition Namespace