summary refs log tree commit diff
path: root/src/GFX/Texture.hpp
blob: 11fd4309f8c75b614841229be5a24a45fb950bba (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:
    U32 m_texture = 0;
};

}