shader matrix support
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <string>
|
||||
#include "Defines.h"
|
||||
#include "render/GL.h"
|
||||
#include "misc/Maths.h"
|
||||
|
||||
namespace td {
|
||||
namespace shader {
|
||||
@@ -27,6 +28,7 @@ protected:
|
||||
void LoadVector(unsigned int location, const Vec2f& vector) const;
|
||||
void LoadVector(unsigned int location, const Vec3f& vector) const;
|
||||
void LoadBoolean(unsigned int location, bool value) const;
|
||||
void LoadMat4(unsigned int location, const maths::Mat4f& mat) const;
|
||||
void CleanUp() const;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user