]> git.tdb.fi Git - libs/gl.git/blob - source/backends/opengl/pixelformat_backend.h
Add support for padding in vertex formats
[libs/gl.git] / source / backends / opengl / pixelformat_backend.h
1 #ifndef MSP_GL_PIXELFORMAT_BACKEND_H_
2 #define MSP_GL_PIXELFORMAT_BACKEND_H_
3
4 #ifndef MSP_GL_PIXELFORMAT_H_
5 #error "pixelformat_backend.h requires pixelformat.h"
6 #endif
7
8 namespace Msp {
9 namespace GL {
10
11 unsigned get_gl_components(PixelComponents);
12 unsigned get_gl_pixelformat(PixelFormat);
13 const int *get_gl_swizzle(ComponentSwizzle);
14
15 } // namespace GL
16 } // namespace Msp
17
18 #endif