Files
fishtanks/src/CubemapTexture.h
T
Jace 4c081d0e1c Indentation style changed to Allman
Using Artistic Style (http://astyle.sourceforge.net/)
Options:
--style=allman
--indent=tab
--keep-one-line-blocks
--align-pointer=type
--align-reference=name
2014-04-11 20:59:42 +02:00

27 lines
461 B
C++
Executable File

#ifndef CubemapTexture_h__
#define CubemapTexture_h__
#include <SOIL.h>
class CubemapTexture
{
public:
CubemapTexture(
std::string posXFile,
std::string negXFile,
std::string posYFile,
std::string negYFile,
std::string posZFile,
std::string negZFile);
~CubemapTexture();
void Load();
void Bind(GLenum textureSlot);
private:
bool m_Loaded;
GLuint m_Texture;
std::string m_TextureFiles[6];
};
#endif // CubemapTexture_h__