#include <GLTexImage.h>
Public Member Functions | |
GLTexInput () | |
int | LoadImageFile (char *imagepath, int &w, int &h) |
int | SetImageData (int width, int height, const void *data, unsigned int gl_format, unsigned int gl_type) |
void | VerifyTexture () |
virtual | ~GLTexInput () |
Static Public Member Functions | |
static int | DownSamplePixelDataF (unsigned int gl_format, int width, int height, int ds, const float *pin, float *pout, int skip=0) |
template<class Uint > | |
static int | DownSamplePixelDataI (unsigned int gl_format, int width, int height, int ds, const Uint *pin, Uint *pout) |
template<class Uint > | |
static int | DownSamplePixelDataI2F (unsigned int gl_format, int width, int height, int ds, const Uint *pin, float *pout, int skip=0) |
static int | IsSimpleGlFormat (unsigned int gl_format, unsigned int gl_type) |
static int | TruncateWidthCU (int w) |
Public Attributes | |
float * | _converted_data |
int | _data_modified |
int | _down_sampled |
const void * | _pixel_data |
int | _rgb_converted |
Definition at line 94 of file GLTexImage.h.
GLTexInput::GLTexInput | ( | ) | [inline] |
Definition at line 126 of file GLTexImage.h.
GLTexInput::~GLTexInput | ( | ) | [virtual] |
Definition at line 1074 of file GLTexImage.cpp.
int GLTexInput::DownSamplePixelDataF | ( | unsigned int | gl_format, |
int | width, | ||
int | height, | ||
int | ds, | ||
const float * | pin, | ||
float * | pout, | ||
int | skip = 0 |
||
) | [static] |
Definition at line 858 of file GLTexImage.cpp.
int GLTexInput::DownSamplePixelDataI | ( | unsigned int | gl_format, |
int | width, | ||
int | height, | ||
int | ds, | ||
const Uint * | pin, | ||
Uint * | pout | ||
) | [static] |
Definition at line 738 of file GLTexImage.cpp.
int GLTexInput::DownSamplePixelDataI2F | ( | unsigned int | gl_format, |
int | width, | ||
int | height, | ||
int | ds, | ||
const Uint * | pin, | ||
float * | pout, | ||
int | skip = 0 |
||
) | [static] |
Definition at line 802 of file GLTexImage.cpp.
static int GLTexInput::IsSimpleGlFormat | ( | unsigned int | gl_format, |
unsigned int | gl_type | ||
) | [inline, static] |
Definition at line 105 of file GLTexImage.h.
int GLTexInput::LoadImageFile | ( | char * | imagepath, |
int & | w, | ||
int & | h | ||
) |
Definition at line 1080 of file GLTexImage.cpp.
int GLTexInput::SetImageData | ( | int | width, |
int | height, | ||
const void * | data, | ||
unsigned int | gl_format, | ||
unsigned int | gl_type | ||
) |
Definition at line 912 of file GLTexImage.cpp.
static int GLTexInput::TruncateWidthCU | ( | int | w | ) | [inline, static] |
Definition at line 124 of file GLTexImage.h.
Definition at line 1211 of file GLTexImage.cpp.
float* GLTexInput::_converted_data |
Definition at line 102 of file GLTexImage.h.
Definition at line 99 of file GLTexImage.h.
Definition at line 97 of file GLTexImage.h.
const void* GLTexInput::_pixel_data |
Definition at line 103 of file GLTexImage.h.
Definition at line 98 of file GLTexImage.h.