summaryrefslogtreecommitdiff
path: root/texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'texture.h')
-rw-r--r--texture.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/texture.h b/texture.h
index ca7fef1..9fea06f 100644
--- a/texture.h
+++ b/texture.h
@@ -2,9 +2,15 @@
#define _TEXTURE_H_
#include <stdint.h>
+#include <string>
class Texture {
public:
+ Texture();
+ Texture(const std::string& filename);
+
+ void load(const std::string& filename);
+
void bind() const;
unsigned int tex() const;
unsigned int w() const;