diff options
Diffstat (limited to 'src/core/resource/image.hh')
| -rw-r--r-- | src/core/resource/image.hh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/resource/image.hh b/src/core/resource/image.hh new file mode 100644 index 0000000..575591f --- /dev/null +++ b/src/core/resource/image.hh @@ -0,0 +1,11 @@ +#pragma once + +constexpr static unsigned int IMAGE_LOAD_GRAY = 0x0001U; +constexpr static unsigned int IMAGE_LOAD_FLIP = 0x0002U; + +struct Image final { + static void register_resource(void); + + stbi_uc* pixels; + glm::ivec2 size; +}; |
