Changeset 502bd0b in opengl-game for vulkan-game.hpp


Ignore:
Timestamp:
Sep 23, 2019, 2:02:47 AM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
91c89f7
Parents:
c1c2021
Message:

In vulkangame, add code to create a swap chain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.hpp

    rc1c2021 r502bd0b  
    3333      VkQueue presentQueue;
    3434
     35      VkSwapchainKHR swapChain;
     36      vector<VkImage> swapChainImages;
     37      VkFormat swapChainImageFormat;
     38      VkExtent2D swapChainExtent;
     39
    3540      bool initWindow(int width, int height, unsigned char guiFlags);
    3641      void initVulkan();
     
    4954         const vector<const char*> validationLayers,
    5055         const vector<const char*>& deviceExtensions);
     56      void createSwapChain();
    5157      void cleanupSwapChain();
    5258
Note: See TracChangeset for help on using the changeset viewer.