25 lines
295 B
C++
25 lines
295 B
C++
#pragma once
|
|
#ifndef TEXTURE
|
|
#define TEXTURE
|
|
|
|
#include <GL/glew.h>
|
|
|
|
#include "ressource.h"
|
|
|
|
class Xr_Texture : public Xr_Ressource
|
|
{
|
|
public:
|
|
Xr_Texture();
|
|
Xr_Texture(char*);
|
|
virtual ~Xr_Texture();
|
|
|
|
GLuint getTextureId() const;
|
|
|
|
void load();
|
|
|
|
private:
|
|
GLuint T_id;
|
|
};
|
|
|
|
#endif
|