ImportImage(ICompositionImportableSharedGpuContextImage) Method
Asynchronously imports a texture. The returned object is immediately usable. If import operation fails, the caller is responsible for destroying the handle
Definition
Namespace: Avalonia.Rendering.Composition
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
ICompositionImportedGpuImage ImportImage(
ICompositionImportableSharedGpuContextImage image
)
Function ImportImage (
image As ICompositionImportableSharedGpuContextImage
) As ICompositionImportedGpuImage
abstract ImportImage :
image : ICompositionImportableSharedGpuContextImage -> ICompositionImportedGpuImage
Parameters
- ICompositionImportableSharedGpuContextImage
- An image 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
ImportImage Overload
Avalonia.Rendering.Composition Namespace