17 constexpr uint32_t TEXTURE_1D = 0x0DE1;
18 constexpr uint32_t TEXTURE_2D = 0x0DE1;
19 constexpr uint32_t TEXTURE_3D = 0x806F;
20 constexpr uint32_t TEXTURE_2D_ARRAY = 0x8C1A;
23 template<
unsigned TEXTURE_TARGET>
24 class API_AUI_VIEWS Texture {
30 void setupClampToEdge();
32 void setupMirroredRepeat();
33 Texture(
const Texture&) =
delete;
35 void bind(uint8_t index = 0);
36 static void unbind(uint8_t index = 0);
38 operator bool()
const {
41 uint32_t getHandle()
const {
46 uint32_t mTexture = 0;
47 enum class Filtering {
51 } mFiltering = Filtering::UNDEFINED;
58 } mWrapping = Wrapping::UNDEFINED;