49 lines
812 B
C++
49 lines
812 B
C++
|
//
|
||
|
// Created by lukas on 05.02.22.
|
||
|
//
|
||
|
|
||
|
#include "RenderBase.h"
|
||
|
|
||
|
|
||
|
|
||
|
//template<class T>
|
||
|
//RenderBase<T>::RenderBase() {
|
||
|
//
|
||
|
//}
|
||
|
|
||
|
//template<class T>
|
||
|
//void RenderBase<T>::render() {
|
||
|
// r.render(*va, *ib);
|
||
|
//}
|
||
|
|
||
|
//template<class T>
|
||
|
//void RenderBase<T>::init() {
|
||
|
// s = setShader();
|
||
|
// va = setVertexArray();
|
||
|
// ib = setIndexBuffer();
|
||
|
//}
|
||
|
|
||
|
//template<class T>
|
||
|
//void RenderBase<T>::deinit() {
|
||
|
//
|
||
|
//}
|
||
|
|
||
|
//template<class T>
|
||
|
//unsigned RenderBase<T>::getMVPhandle() {
|
||
|
// return s.getUniformHandle("MVP");
|
||
|
//}
|
||
|
|
||
|
//template<class T>
|
||
|
//unsigned RenderBase<T>::getUniformhandle(std::string name) {
|
||
|
// return s.getUniformHandle(std::move(name));
|
||
|
//}
|
||
|
|
||
|
//template<class T>
|
||
|
//T *RenderBase<T>::getInstance() {
|
||
|
// if (instance == nullptr) {
|
||
|
// instance = new T();
|
||
|
// }
|
||
|
// return instance;
|
||
|
//
|
||
|
//}
|