vfs: check userland buffers before reading them.
[haiku.git] / src / apps / haiku3d / Texture.h
blob72713437d3a39c733b7a27a792a86cc2be6856fd
1 /*
2 * Copyright 2009, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Alexandre Deckner <alex@zappotek.com>
7 */
8 #ifndef _TEXTURE_H
9 #define _TEXTURE_H
11 #include <Referenceable.h>
13 #include <GL/gl.h>
16 class Texture : public BReferenceable {
17 public:
18 Texture();
19 virtual ~Texture();
21 GLuint Id();
23 virtual void Update(float dt);
25 protected:
26 GLuint fId;
29 #endif /* _TEXTURE_H */