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; }; }