OpenRaider
0.1.4-dev
Open Source Tomb Raider Game Engine implementation
|
Pixel buffer utilities. More...
Go to the source code of this file.
Functions | |
unsigned char * | generateColorTexture (glm::vec4 rgba, unsigned int width, unsigned int height, unsigned int bpp) |
void | argb2rgba32 (unsigned char *image, unsigned int w, unsigned int h) |
unsigned char * | argb16to32 (unsigned char *image, unsigned int w, unsigned int h) |
unsigned char * | grayscale2rgba (unsigned char *image, unsigned int w, unsigned int h) |
unsigned char * | scaleBuffer (unsigned char *image, unsigned int *w, unsigned int *h, unsigned int bpp) |
Pixel buffer utilities.
Definition in file pixel.h.
unsigned char* generateColorTexture | ( | glm::vec4 | rgba, |
unsigned int | width, | ||
unsigned int | height, | ||
unsigned int | bpp | ||
) |
void argb2rgba32 | ( | unsigned char * | image, |
unsigned int | w, | ||
unsigned int | h | ||
) |
unsigned char* argb16to32 | ( | unsigned char * | image, |
unsigned int | w, | ||
unsigned int | h | ||
) |
unsigned char* grayscale2rgba | ( | unsigned char * | image, |
unsigned int | w, | ||
unsigned int | h | ||
) |