]> git.tdb.fi Git - libs/gl.git/blob - source/backends/vulkan/swapchaintexture.h
Initial implementation of Vulkan backend
[libs/gl.git] / source / backends / vulkan / swapchaintexture.h
1 #ifndef MSP_GL_VULKAN_SWAPCHAINTEXTURE_H_
2 #define MSP_GL_VULKAN_SWAPCHAINTEXTURE_H_
3
4 #include "texture2d.h"
5
6 namespace Msp {
7 namespace GL {
8
9 class SwapChainTexture: public Texture2D
10 {
11         friend class SwapChain;
12
13 private:
14         SwapChainTexture(PixelFormat, unsigned, unsigned, VkImage);
15 public:
16         SwapChainTexture(SwapChainTexture &&) = default;
17         ~SwapChainTexture();
18 };
19
20 } // namespace GL
21 } // namespace Msp
22
23 #endif