Browse code

getter for program

oscar authored on 11/02/2021 22:38:38
Showing 1 changed files

... ...
@@ -43,6 +43,8 @@ public:
43 43
         GLenum usage = GL_DYNAMIC_DRAW
44 44
     );
45 45
     static void uniform_buffer_delete(std::string const & name);
46
+    static void ubo_delete(std::string const & name);
47
+    GLuint program(){program_;}
46 48
 
47 49
 private:
48 50