summary refs log tree commit diff
path: root/src/GFX/Shading/Shader.hpp
blob: 8c6c5c836ddfa3a4cd258034aee8f674005384b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

#include "../../Common/Sizes.hpp"
#include "../../Assets.hpp"

namespace MC::GFX::Shading {

class Shader {

public:
    enum class Type {
        Vertex,
        Fragment,
    };

    Shader(Type type, const Char* source);

    U32 get() const {
        return m_shader;
    }

private:
    U32 m_shader;
};

}