|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
|
inlinestatic |
Factory: create a GPUTexture by loading from memory.
| device | SDL GPU device. |
| data | Raw image file bytes. |
| size | Size of data in bytes. |
| std::runtime_error | if loading fails. |
Definition at line 258 of file gpu-texture.h.