Changeset c1c2021 in opengl-game for vulkan-game.hpp
- Timestamp:
- Sep 23, 2019, 12:32:48 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 502bd0b
- Parents:
- a0c5f28
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
ra0c5f28 rc1c2021 28 28 VkSurfaceKHR surface; // TODO: Change the variable name to vulkanSurface 29 29 VkPhysicalDevice physicalDevice = VK_NULL_HANDLE; 30 VkDevice device; 31 32 VkQueue graphicsQueue; 33 VkQueue presentQueue; 30 34 31 35 bool initWindow(int width, int height, unsigned char guiFlags); … … 42 46 void pickPhysicalDevice(const vector<const char*>& deviceExtensions); 43 47 bool isDeviceSuitable(VkPhysicalDevice device, const vector<const char*>& deviceExtensions); 48 void createLogicalDevice( 49 const vector<const char*> validationLayers, 50 const vector<const char*>& deviceExtensions); 51 void cleanupSwapChain(); 44 52 45 53 static VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback(
Note:
See TracChangeset
for help on using the changeset viewer.