mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-09 20:32:43 +01:00
20 lines
310 B
C++
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;
|
|
};
|