]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/swapchaintexture.h
Initial implementation of Vulkan backend
[libs/gl.git] / source / backends / vulkan / swapchaintexture.h
diff --git a/source/backends/vulkan/swapchaintexture.h b/source/backends/vulkan/swapchaintexture.h
new file mode 100644 (file)
index 0000000..f9fc7cd
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef MSP_GL_VULKAN_SWAPCHAINTEXTURE_H_
+#define MSP_GL_VULKAN_SWAPCHAINTEXTURE_H_
+
+#include "texture2d.h"
+
+namespace Msp {
+namespace GL {
+
+class SwapChainTexture: public Texture2D
+{
+       friend class SwapChain;
+
+private:
+       SwapChainTexture(PixelFormat, unsigned, unsigned, VkImage);
+public:
+       SwapChainTexture(SwapChainTexture &&) = default;
+       ~SwapChainTexture();
+};
+
+} // namespace GL
+} // namespace Msp
+
+#endif