3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_PIXELFORMAT_H_
9 #define MSP_GL_PIXELFORMAT_H_
12 #include <msp/gbase/pixelformat.h>
20 COLOR_INDEX = GL_COLOR_INDEX,
21 STENCIL_INDEX = GL_STENCIL_INDEX,
22 DEPTH_COMPONENT = GL_DEPTH_COMPONENT,
31 LUMINANCE = GL_LUMINANCE,
32 LUMINANCE_ALPHA = GL_LUMINANCE_ALPHA
35 std::istream &operator>>(std::istream &, PixelFormat &);
37 PixelFormat pixelformat_from_graphics(Graphics::PixelFormat);