mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-10 17:28:24 +01:00
21 lines
273 B
C++
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
|