Changeset fa9fa1c in opengl-game for vulkan-game.hpp
- Timestamp:
- Sep 27, 2019, 8:53:27 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 7563b8a, a0da009
- Parents:
- 0e09340
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
r0e09340 rfa9fa1c 38 38 VkExtent2D swapChainExtent; 39 39 vector<VkImageView> swapChainImageViews; 40 40 41 VkRenderPass renderPass; 42 VkCommandPool commandPool; 41 43 42 44 bool framebufferResized = false; … … 54 56 void createVulkanSurface(); 55 57 void pickPhysicalDevice(const vector<const char*>& deviceExtensions); 56 bool isDeviceSuitable(VkPhysicalDevice device, const vector<const char*>& deviceExtensions);58 bool isDeviceSuitable(VkPhysicalDevice physicalDevice, const vector<const char*>& deviceExtensions); 57 59 void createLogicalDevice( 58 60 const vector<const char*> validationLayers, … … 62 64 void createRenderPass(); 63 65 VkFormat findDepthFormat(); 66 void createCommandPool(); 64 67 65 68 void cleanupSwapChain();
Note:
See TracChangeset
for help on using the changeset viewer.