Load a resource associated with the given I/O.
The resource should be continuously loaded during resizeImpl. Even if a resource has already been loaded, it has to be declared with load so the I/O system knows it is still in use.
CanvasIO canvasIO; DrawableImage image; void resizeImpl(Vector2 space) { require(canvasIO); load(canvasIO, image); }
I/O system to use to load the resource.
Resource to load.
See Implementation
Load a resource associated with the given I/O.
The resource should be continuously loaded during resizeImpl. Even if a resource has already been loaded, it has to be declared with load so the I/O system knows it is still in use.