xref: /haiku/src/apps/haiku3d/Texture.h (revision 8e4cdaae8de3c1b36dc31bb76587b46986c93014)
1 /*
2  * Copyright 2009, Haiku Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  * 		Alexandre Deckner <alex@zappotek.com>
7  */
8 #ifndef _TEXTURE_H
9 #define _TEXTURE_H
10 
11 #include <Referenceable.h>
12 
13 #include <GL/gl.h>
14 
15 
16 class Texture : public BReferenceable {
17 public:
18 					Texture();
19 	virtual			~Texture();
20 
21 	GLuint			Id();
22 
23 	virtual	void	Update(float dt);
24 
25 protected:
26 	GLuint			fId;
27 };
28 
29 #endif /* _TEXTURE_H */
30