Changeset fa9fa1c in opengl-game for vulkan-game.hpp


Ignore:
Timestamp:
Sep 27, 2019, 8:53:27 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
7563b8a, a0da009
Parents:
0e09340
Message:

In vulkangame, create the command pool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.hpp

    r0e09340 rfa9fa1c  
    3838      VkExtent2D swapChainExtent;
    3939      vector<VkImageView> swapChainImageViews;
     40
    4041      VkRenderPass renderPass;
     42      VkCommandPool commandPool;
    4143
    4244      bool framebufferResized = false;
     
    5456      void createVulkanSurface();
    5557      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);
    5759      void createLogicalDevice(
    5860         const vector<const char*> validationLayers,
     
    6264      void createRenderPass();
    6365      VkFormat findDepthFormat();
     66      void createCommandPool();
    6467
    6568      void cleanupSwapChain();
Note: See TracChangeset for help on using the changeset viewer.