Gnash
0.8.10
|
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, gnash::image::TYPE_RGBA, and assert.
unsigned int gnash::GnashTextureFormat::format | ( | ) | const [inline] |
Return GL format.
References _format.
unsigned int gnash::GnashTextureFormat::internal_format | ( | ) | const [inline] |
Return GL internal format.