]> git.tdb.fi Git - libs/gl.git/blob - source/backends/vulkan/texture3d_backend.cpp
Initial implementation of Vulkan backend
[libs/gl.git] / source / backends / vulkan / texture3d_backend.cpp
1 #include "texture3d_backend.h"
2 #include "vulkan.h"
3
4 namespace Msp {
5 namespace GL {
6
7 VulkanTexture3D::VulkanTexture3D():
8         Texture(VK_IMAGE_VIEW_TYPE_3D)
9 {
10         throw std::logic_error("VulkanTexture3D is unimplemented");
11 }
12
13 VulkanTexture3D::VulkanTexture3D(unsigned t):
14         Texture(t)
15 { }
16
17 void VulkanTexture3D::sub_image(unsigned, int, int, int, unsigned, unsigned, unsigned, const void *)
18 {
19 }
20
21 bool VulkanTexture3D::is_array() const
22 {
23         return view_type==VK_IMAGE_VIEW_TYPE_2D_ARRAY;
24 }
25
26 size_t VulkanTexture3D::get_data_size() const
27 {
28         return 0;
29 }
30
31 } // namespace GL
32 } // namespace Msp