register Image
Register an image as an asset with the given name. This allows the image to be used to fulfill a referenced asset when loading a Rive file.
The CommandServer will keep a reference to the image. For it to be fully released, you must unregister it with unregisterImage.
Registrations are global to the CommandQueue, meaning that the name will be used to fulfill any file loaded by this CommandQueue that references the asset with the same name.
The same image can be registered multiple times with different names, allowing it to fulfill multiple referenced assets in all Rive files on this CommandQueue.
Parameters
The name of the referenced asset to fulfill. Must match the name in the zip file when exporting from Rive.
The handle of the image to register.
Throws
If the CommandQueue has been released.