1 #ifndef MSP_GL_PIXELFORMAT_H_
2 #define MSP_GL_PIXELFORMAT_H_
5 #include <msp/graphics/pixelformat.h>
14 COLOR_INDEX = GL_COLOR_INDEX,
15 STENCIL_INDEX = GL_STENCIL_INDEX,
16 DEPTH_COMPONENT = GL_DEPTH_COMPONENT,
24 RGB16F = GL_RGB16F_ARB,
25 RGB32F = GL_RGB32F_ARB,
27 RGBA16F = GL_RGBA16F_ARB,
28 RGBA32F = GL_RGBA32F_ARB,
31 LUMINANCE = GL_LUMINANCE,
32 LUMINANCE8 = GL_LUMINANCE8,
33 LUMINANCE16F = GL_LUMINANCE16F_ARB,
34 LUMINANCE32F = GL_LUMINANCE32F_ARB,
35 LUMINANCE_ALPHA = GL_LUMINANCE_ALPHA,
36 LUMINANCE_ALPHA8 = GL_LUMINANCE8_ALPHA8,
37 LUMINANCE_ALPHA16F = GL_LUMINANCE_ALPHA16F_ARB,
38 LUMINANCE_ALPHA32F = GL_LUMINANCE_ALPHA32F_ARB,
41 std::istream &operator>>(std::istream &, PixelFormat &);
43 PixelFormat pixelformat_from_graphics(Graphics::PixelFormat);
45 PixelFormat get_base_pixelformat(PixelFormat);