2016-04-07 01:13:46 +01:00
|
|
|
#pragma once
|
|
|
|
#ifndef _TEXTURELOADER_HPP_
|
|
|
|
#define _TEXTURELOADER_HPP_
|
|
|
|
|
|
|
|
#include <loaders/RWBinaryStream.hpp>
|
|
|
|
|
2016-09-09 21:13:21 +01:00
|
|
|
#include <functional>
|
|
|
|
#include <map>
|
2016-04-07 01:13:46 +01:00
|
|
|
#include <platform/FileHandle.hpp>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
// This might suffice
|
|
|
|
#include <gl/TextureData.hpp>
|
|
|
|
|
|
|
|
class FileIndex;
|
|
|
|
|
2016-09-09 21:13:21 +01:00
|
|
|
class TextureLoader {
|
2016-04-07 01:13:46 +01:00
|
|
|
public:
|
2016-09-09 21:13:21 +01:00
|
|
|
bool loadFromMemory(FileHandle file, TextureArchive& inTextures);
|
2016-04-07 01:13:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|