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