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
Namespace: Avalonia.Rendering.CompositionAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
ICompositionImportedGpuImage ImportImage(
ICompositionImportableSharedGpuContextImage image
)
Function ImportImage (
image As ICompositionImportableSharedGpuContextImage
) As ICompositionImportedGpuImage
abstract ImportImage :
image : ICompositionImportableSharedGpuContextImage -> ICompositionImportedGpuImage
- image ICompositionImportableSharedGpuContextImage
- An image that belongs to the same GPU context or the same GPU context sharing group as one used by compositor
ICompositionImportedGpuImage