summaryrefslogtreecommitdiffstats
path: root/core/image.hh
blob: 0b13ba057ecb27c7c03a3a34aec6d4924267d8f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 */