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)
- C#
- VB
- F#
ICompositionImportedGpuImage ImportSemaphore(
ICompositionImportableSharedGpuContextSemaphore image
)
Function ImportSemaphore (
image As ICompositionImportableSharedGpuContextSemaphore
) As ICompositionImportedGpuImage
abstract ImportSemaphore :
image : ICompositionImportableSharedGpuContextSemaphore -> ICompositionImportedGpuImage
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
ICompositionImportedGpuImageSee Also
Reference
ICompositionGpuInterop Interface
ImportSemaphore Overload
Avalonia.Rendering.Composition Namespace