deleteImage

fun deleteImage(imageHandle: ImageHandle)

Delete an image and free its resources. This is useful when you no longer need the image and want to free up memory. Counterpart to decodeImage.

Parameters

imageHandle

The handle of the image to delete.

Throws

If the CommandQueue has been released.