Encapsulates a texture in the GPU.
More...
#include <texture.hpp>
|
static void | loadBMP (const std::string &filename, std::vector< unsigned char > &data, size_t &width, size_t &height, size_t &bitPerPixel, bool readalpha=false) |
|
Encapsulates a texture in the GPU.
Texture::Texture |
( |
const std::string & |
filename, |
|
|
bool |
readalpha = false |
|
) |
| |
GLuint Texture::getHandle |
( |
| ) |
const |
|
inline |
void Texture::loadBMP |
( |
const std::string & |
filename, |
|
|
std::vector< unsigned char > & |
data, |
|
|
size_t & |
width, |
|
|
size_t & |
height, |
|
|
size_t & |
bitPerPixel, |
|
|
bool |
readalpha = false |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: