Changeset 8aa4888 in opengl-game for sdl-game.hpp
- Timestamp:
- Jun 8, 2021, 3:21:53 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 8dcbf62
- Parents:
- c074f81
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sdl-game.hpp
rc074f81 r8aa4888 20 20 21 21 #include "consts.hpp" 22 #include "game-gui-sdl.hpp" 22 23 #include "vulkan-utils.hpp" 24 #include "graphics-pipeline_vulkan.hpp" 23 25 #include "vulkan-buffer.hpp" 24 #include "graphics-pipeline_vulkan.hpp"25 #include "game-gui-sdl.hpp"26 26 27 27 using namespace glm; … … 59 59 unsigned int objIndex; 60 60 }; 61 62 // Currently using these as the dynamic UBO types as well 63 // TODO: Rename them to something more general 61 64 62 65 struct SSBO_ModelObject { … … 83 86 vector<VkDeviceMemory> memory; 84 87 vector<VkDescriptorBufferInfo> infoSet; 88 VkBufferUsageFlags usages; 89 VkMemoryPropertyFlags properties; 85 90 }; 86 91 … … 289 294 // TODO: Maybe move these to a different class, possibly VulkanBuffer or some new related class 290 295 291 void createBufferSet(VkDeviceSize bufferSize, VkBufferUsageFlags flags, VkMemoryPropertyFlags properties,296 void createBufferSet(VkDeviceSize bufferSize, VkBufferUsageFlags usages, VkMemoryPropertyFlags properties, 292 297 BufferSet& set); 293 298
Note:
See TracChangeset
for help on using the changeset viewer.