destroy Rive Surface
Deprecated
Call RiveSurface.close() directly.
Replace with
surface.close()Content copied to clipboard
Destroy a Rive rendering surface. The surface will not be valid for use after this call.
RiveSurface.close is safe to call directly and schedules ordered disposal on this surface's owning command queue.
Parameters
surface
The RiveSurface to destroy.
Throws
If the CommandQueue has been released.