summary refs log tree commit diff
path: root/src/GFX/Texture.hpp
blob: 2981b2c4bfefafa7216d47be5bad615eb23f893f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "Image/RawImage.hpp"

namespace MC::GFX {

class Texture {
public:
    explicit Texture(const Image::RawImage& image);

    void bind() const;
    void unbind() const;
private:
    uint32_t m_texture = 0;
};

}