Gnash
0.8.11dev
|
OpenGL texture format. More...
#include <GnashTexture.h>
Public Member Functions | |
GnashTextureFormat (image::ImageType type) | |
unsigned int | internal_format () const |
Return GL internal format. | |
unsigned int | format () const |
Return GL format. |
OpenGL texture format.
gnash::GnashTextureFormat::GnashTextureFormat | ( | image::ImageType | type | ) |
References gnash::image::TYPE_RGB, and gnash::image::TYPE_RGBA.
|
inline |
Return GL format.
References _format.
|
inline |
Return GL internal format.