1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 18:32:44 +01:00
openrw/framework/TextureLoader.h
2013-07-01 03:22:01 +02:00

20 lines
310 B
C++

#pragma once
#define GLEW_STATIC
#include <GL/glew.h>
#include "rwbinarystream.h"
#include <string>
#include <map>
class TextureLoader
{
public:
bool loadFromFile(std::string filename);
bool loadFromMemory(char *data);
void bindTexture(std::string texture);
std::map<std::string, GLuint> textures;
};