I have read the offical docs but can't find any way to load a texture from memory directly. It currently do have the APIs to load textures from files but what I want exactly is to load a texture from a &[u8]
which respresents an RGBA formatted image with fixed size.
How to load a texture from memory in amethyst engine?
409 views Asked by skypitcher At
1
There is a solution mentioned slightly in the offical tutorial
Another way is introduced in the Doc of ImageFormat.