Add depth buffering
This commit is contained in:
1 parent
d7d2462835
commit
4180c4549b
2 files changed
+138
-39
No files matched your search
@@ -31,6 +31,9 @@ typedef struct {
|
||||
VkExtent2D swapchain_extent;
|
||||
uint32_t swapchain_img_count;
|
||||
VkImageView swapchain_img_views[SWAPCHAIN_IMG_BUFFER_SIZE];
|
||||
VkImage depth_img;
|
||||
VkDeviceMemory depth_img_mem;
|
||||
VkImageView depth_img_view;
|
||||
VkFramebuffer framebuffers[SWAPCHAIN_IMG_BUFFER_SIZE];
|
||||
VkShaderModule vert_shader;
|
||||
VkShaderModule frag_shader;
|
||||
|
||||
Reference in new issue
Block a user