Currently, the sample code uploads all of its images upfront and then uses them later.
We should also support an API that lets code outside of widgets upload images, potentially paired with use_state. We could also build an API for doing something similar with yakui-wgpu for textures that will already be present on the GPU.
Currently, the sample code uploads all of its images upfront and then uses them later.
We should also support an API that lets code outside of widgets upload images, potentially paired with
use_state
. We could also build an API for doing something similar with yakui-wgpu for textures that will already be present on the GPU.