Changeset 8e02b6b in opengl-game for vulkan-game.hpp
- Timestamp:
- Nov 22, 2019, 6:27:13 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- f97c5e7
- Parents:
- 683dd55
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (11/22/19 18:26:59)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (11/22/19 18:27:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
r683dd55 r8e02b6b 29 29 }; 30 30 31 struct U niformBufferObject {31 struct UBO_MvpMat { 32 32 alignas(16) mat4 model; 33 33 alignas(16) mat4 view; … … 51 51 vec3 cam_pos; 52 52 53 U niformBufferObject ubo;53 UBO_MvpMat modelMvpMats; 54 54 55 55 GameGui* gui; … … 120 120 void initMatrices(); 121 121 void mainLoop(); 122 void updateScene(uint32_t currentImage); 122 123 void renderUI(); 123 124 void renderScene(); … … 147 148 148 149 void recreateSwapChain(); 149 void updateUniformBuffer(uint32_t currentImage);150 150 151 151 void cleanupSwapChain();
Note:
See TracChangeset
for help on using the changeset viewer.