shader.hpp 332 B

12345678910111213141516171819202122
  1. //
  2. // shader.hpp
  3. // graphics
  4. //
  5. // Created by Sam Jaffe on 7/5/16.
  6. //
  7. #pragma once
  8. #include "game/util/identity.hpp"
  9. #include <string>
  10. namespace graphics {
  11. class shader : public identity<shader> {
  12. public:
  13. static shader create(unsigned int type, std::string const & path);
  14. private:
  15. shader(unsigned int);
  16. };
  17. }