create special classes for render objects and 3d objects

This commit is contained in:
Lauchmelder 2021-12-21 14:35:36 +01:00
parent 80e5f4344c
commit f7941908ef
8 changed files with 166 additions and 17 deletions

View file

@ -4,6 +4,7 @@
#include <string>
#include <memory>
#include <functional>
class AbstractShader
{
@ -21,6 +22,8 @@ public:
private:
unsigned int id;
bool recording = false;
};
typedef std::shared_ptr<AbstractShader> Shader;