29 #ifndef __GLES2PixelFormat_H__
30 #define __GLES2PixelFormat_H__
46 static GLenum getGLOriginFormat(
PixelFormat mFormat);
53 static GLenum getGLOriginDataType(
PixelFormat mFormat);
60 static GLenum getGLInternalFormat(
PixelFormat mFormat,
bool hwGamma =
false);
67 static GLenum getClosestGLInternalFormat(
PixelFormat mFormat,
bool hwGamma =
false);
74 static PixelFormat getClosestOGREFormat(GLenum fmt, GLenum dataType);
Class to do pixel format mapping between GL and OGRE.
PixelFormat
The pixel format used for images, textures, and render surfaces.