]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/texture2dmultisample_backend.h
Initial implementation of Vulkan backend
[libs/gl.git] / source / backends / vulkan / texture2dmultisample_backend.h
diff --git a/source/backends/vulkan/texture2dmultisample_backend.h b/source/backends/vulkan/texture2dmultisample_backend.h
new file mode 100644 (file)
index 0000000..cfb45a5
--- /dev/null
@@ -0,0 +1,25 @@
+#ifndef MSP_GL_TEXTURE2DMULTISAMPLE_BACKEND_H_
+#define MSP_GL_TEXTURE2DMULTISAMPLE_BACKEND_H_
+
+#include "texture.h"
+
+namespace Msp {
+namespace GL {
+
+class VulkanTexture2DMultisample: public Texture
+{
+protected:
+       VulkanTexture2DMultisample();
+
+public:
+       virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
+       virtual std::size_t get_data_size() const;
+       virtual void unload() { }
+};
+
+using Texture2DMultisampleBackend = VulkanTexture2DMultisample;
+
+} // namespace GL
+} // namespace Msp
+
+#endif