Files
OpenBK7231T_App/src/sim/Texture.h
2022-11-22 08:54:28 +01:00

21 lines
273 B
C++

#ifdef WINDOWS
#include "sim_local.h"
class Texture2D {
std::string name;
unsigned int handle;
int w, h;
public:
void loadTexture(const char *fname);
const char *getName() const {
return name.c_str();
}
unsigned int getHandle() {
return handle;
}
};
#endif