diff options
author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-26 00:06:51 -0400 |
---|---|---|
committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-26 00:06:51 -0400 |
commit | eb89831d1471e78413145ca7159c72b42d33b376 (patch) | |
tree | f897123c26ca499eaa08a431f0cf6981a979bdac /engine/xe_swap_chain.hpp | |
parent | remove color vertex data, mipmapping (diff) | |
download | minecraftvulkan-eb89831d1471e78413145ca7159c72b42d33b376.tar.gz minecraftvulkan-eb89831d1471e78413145ca7159c72b42d33b376.tar.bz2 minecraftvulkan-eb89831d1471e78413145ca7159c72b42d33b376.zip |
MSAA
Diffstat (limited to 'engine/xe_swap_chain.hpp')
-rwxr-xr-x | engine/xe_swap_chain.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engine/xe_swap_chain.hpp b/engine/xe_swap_chain.hpp index dad3baf..380bd6e 100755 --- a/engine/xe_swap_chain.hpp +++ b/engine/xe_swap_chain.hpp @@ -1,6 +1,7 @@ #pragma once #include "xe_device.hpp" +#include "xe_image.hpp" #include <vulkan/vulkan.h> @@ -52,6 +53,7 @@ class SwapChain { void init(); void createSwapChain(); void createImageViews(); + void createColorResources(); void createDepthResources(); void createRenderPass(); void createFramebuffers(); @@ -73,6 +75,9 @@ class SwapChain { std::vector<VkImage> depthImages; std::vector<VkDeviceMemory> depthImageMemorys; std::vector<VkImageView> depthImageViews; + std::vector<VkImage> colorImages; + std::vector<VkDeviceMemory> colorImageMemorys; + std::vector<VkImageView> colorImageViews; std::vector<VkImage> swapChainImages; std::vector<VkImageView> swapChainImageViews; |