ICompositionGpuInteropImportImage(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) Version: 11.3.999
C#
ICompositionImportedGpuImage ImportImage(
	ICompositionImportableSharedGpuContextImage image
)

Parameters

image  ICompositionImportableSharedGpuContextImage
An image that belongs to the same GPU context or the same GPU context sharing group as one used by compositor

Return Value

ICompositionImportedGpuImage

See Also