28 #ifndef __GLPIXELFORMAT_H__
29 #define __GLPIXELFORMAT_H__
45 static GLenum getGLOriginFormat(
PixelFormat mFormat);
52 static GLenum getGLOriginDataType(
PixelFormat mFormat);
59 static GLenum getGLInternalFormat(
PixelFormat mFormat,
bool hwGamma =
false);
66 static GLenum getClosestGLInternalFormat(
PixelFormat mFormat,
bool hwGamma =
false);
73 static PixelFormat getClosestOGREFormat(GLenum fmt);
Class to do pixel format mapping between GL and OGRE.
PixelFormat
The pixel format used for images, textures, and render surfaces.