blob: b62fcbb52a9007bccd635c1e1088ce44a20c1cc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef CORE_RESOURCE_IMAGE_HH
#define CORE_RESOURCE_IMAGE_HH 1
#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;
};
#endif // CORE_RESOURCE_IMAGE_HH
|