mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 02:35:03 +01:00
30 lines
457 B
C
30 lines
457 B
C
|
/*
|
||
|
* Copyright 2009, Haiku Inc. All rights reserved.
|
||
|
* Distributed under the terms of the MIT License.
|
||
|
*
|
||
|
* Authors:
|
||
|
* Alexandre Deckner <alex@zappotek.com>
|
||
|
*/
|
||
|
#ifndef _TEXTURE_H
|
||
|
#define _TEXTURE_H
|
||
|
|
||
|
#include <Referenceable.h>
|
||
|
|
||
|
#include <opengl/GL/gl.h>
|
||
|
|
||
|
|
||
|
class Texture : public Referenceable {
|
||
|
public:
|
||
|
Texture();
|
||
|
virtual ~Texture();
|
||
|
|
||
|
GLuint Id();
|
||
|
|
||
|
virtual void Update(float dt) {};
|
||
|
|
||
|
protected:
|
||
|
GLuint fId;
|
||
|
};
|
||
|
|
||
|
#endif /* _TEXTURE_H */
|