Changeset 603b5bc in opengl-game for vulkan-game.hpp
- Timestamp:
- Oct 22, 2019, 7:53:48 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 34bdf3a
- Parents:
- e83b155
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (10/22/19 19:10:44)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (10/22/19 19:53:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
re83b155 r603b5bc 37 37 private: 38 38 GameGui* gui; 39 Viewport viewport;40 39 41 40 vector<GraphicsPipeline_Vulkan> graphicsPipelines; … … 59 58 vector<VkImage> swapChainImages; 60 59 VkFormat swapChainImageFormat; 60 VkExtent2D swapChainExtent; 61 61 vector<VkImageView> swapChainImageViews; 62 vector<VkFramebuffer> swapChainFramebuffers; 62 63 63 64 VkRenderPass renderPass; 64 65 VkCommandPool commandPool; 66 vector<VkCommandBuffer> commandBuffers; 65 67 66 // TODO: Create these (and wrap them inside a VulkanImage) 67 VkImage depthImage; 68 VkDeviceMemory depthImageMemory; 69 VkImageView depthImageView; 68 VulkanImage depthImage; 70 69 71 70 VkSampler textureSampler; … … 109 108 VkFormat findDepthFormat(); 110 109 void createCommandPool(); 111 void createVulkanResources(); 110 void createImageResources(); 111 112 112 void createTextureSampler(); 113 void createFramebuffers(); 113 114 void createUniformBuffers(); 115 void createCommandBuffers(); 114 116 115 117 void cleanupSwapChain();
Note:
See TracChangeset
for help on using the changeset viewer.