Changeset 771b33a in opengl-game for vulkan-game.hpp
- Timestamp:
- Oct 4, 2019, 8:39:46 PM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- b794178
- Parents:
- 0b1b52d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
r0b1b52d r771b33a 1 1 #ifndef _VULKAN_GAME_H 2 2 #define _VULKAN_GAME_H 3 4 #include <glm/glm.hpp> 3 5 4 6 #include "game-gui-sdl.hpp" … … 11 13 #endif 12 14 15 // TODO: Figure out if these structs should be defined in the VulkanGame class 16 17 struct Vertex { 18 glm::vec3 pos; 19 glm::vec3 color; 20 glm::vec2 texCoord; 21 }; 22 23 struct OverlayVertex { 24 glm::vec3 pos; 25 glm::vec2 texCoord; 26 }; 27 13 28 class VulkanGame { 14 29 public: … … 20 35 private: 21 36 GameGui* gui; 37 Viewport viewport; 22 38 23 39 vector<GraphicsPipeline_Vulkan> graphicsPipelines; … … 39 55 vector<VkImage> swapChainImages; 40 56 VkFormat swapChainImageFormat; 41 VkExtent2D swapChainExtent;42 57 vector<VkImageView> swapChainImageViews; 43 58
Note:
See TracChangeset
for help on using the changeset viewer.