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);
92 static size_t getMaxMipmaps(
size_t width,
size_t height,
size_t depth,
PixelFormat format);
97 static size_t optionalPO2(
size_t value);
Class to do pixel format mapping between GL and OGRE.
PixelFormat
The pixel format used for images, textures, and render surfaces.