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 16class Texture : public BReferenceable { 17public: 18 Texture(); 19 virtual ~Texture(); 20 21 GLuint Id(); 22 23 virtual void Update(float dt); 24 25protected: 26 GLuint fId; 27}; 28 29#endif /* _TEXTURE_H */ 30