30 #ifndef __GLESPixelFormat_H__
31 #define __GLESPixelFormat_H__
47 static GLenum getGLOriginFormat(
PixelFormat mFormat);
54 static GLenum getGLOriginDataType(
PixelFormat mFormat);
61 static GLenum getGLInternalFormat(
PixelFormat mFormat,
bool hwGamma =
false);
68 static GLenum getClosestGLInternalFormat(
PixelFormat mFormat,
bool hwGamma =
false);
75 static PixelFormat getClosestOGREFormat(GLenum fmt, GLenum dataType);
93 static size_t getMaxMipmaps(
size_t width,
size_t height,
size_t depth,
PixelFormat format);
98 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.
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.