Files
Tower-Defense2/include/td/render/shader/CameraShaderProgram.h
2026-01-30 13:18:01 +01:00

25 lines
396 B
C++

#pragma once
#include <td/Maths.h>
namespace td {
namespace shader {
class CameraShaderProgram {
private:
unsigned int m_LocationProjection = 0, m_LocationView = 0;
public:
CameraShaderProgram() {
}
void SetProjectionMatrix(const Mat4f& proj) const;
void SetViewMatrix(const Mat4f& view) const;
virtual void GetAllUniformLocation();
};
} // namespace shader
} // namespace td