]> git.tdb.fi Git - libs/gl.git/blob - source/backends/vulkan/pixelformat_backend.h
Initial implementation of Vulkan backend
[libs/gl.git] / source / backends / vulkan / 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_vulkan_pixelformat(PixelFormat);
12 unsigned get_vulkan_aspect(PixelComponents);
13 PixelFormat pixelformat_from_vulkan(unsigned);
14 const unsigned *get_vulkan_swizzle(ComponentSwizzle);
15
16 } // namespace GL
17 } // namespace Msp
18
19 #endif