Changeset 860a0da in opengl-game for vulkan-game.hpp
- Timestamp:
- Feb 18, 2020, 9:36:51 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 2da64ef
- Parents:
- d25381b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
rd25381b r860a0da 142 142 bool framebufferResized; 143 143 144 // TODO: I should probably rename the uniformBuffer* and storageBuffer*145 // variables to better reflect the data they hold146 147 // TODO: Create a struct that holds the buffers, memory, and info objects (Probably in VulkanUtils)148 149 144 GraphicsPipeline_Vulkan<OverlayVertex, void*> overlayPipeline; 150 145 vector<SceneObject<OverlayVertex, void*>> overlayObjects; 146 147 // TODO: Maybe make the ubo objects part of the pipeline class since there's only one ubo 148 // per pipeline. 149 // Or maybe create a higher level wrapper around GraphicsPipeline_Vulkan to hold things like 150 // the objects vector, the ubo, and the ssbo 151 151 152 152 GraphicsPipeline_Vulkan<ModelVertex, SSBO_ModelObject> modelPipeline; … … 157 157 vector<VkDescriptorBufferInfo> uniformBufferInfoList_modelPipeline; 158 158 159 vector<VkBuffer> storageBuffers_modelPipeline;160 vector<VkDeviceMemory> storageBuffersMemory_modelPipeline;161 vector<VkDescriptorBufferInfo> storageBufferInfoList_modelPipeline;162 163 159 UBO_VP_mats object_VP_mats; 164 160 SSBO_ModelObject so_Object; … … 171 167 vector<VkDescriptorBufferInfo> uniformBufferInfoList_shipPipeline; 172 168 173 vector<VkBuffer> storageBuffers_shipPipeline;174 vector<VkDeviceMemory> storageBuffersMemory_shipPipeline;175 vector<VkDescriptorBufferInfo> storageBufferInfoList_shipPipeline;176 177 169 UBO_VP_mats ship_VP_mats; 178 170 SSBO_ModelObject so_Ship; … … 184 176 vector<VkDeviceMemory> uniformBuffersMemory_asteroidPipeline; 185 177 vector<VkDescriptorBufferInfo> uniformBufferInfoList_asteroidPipeline; 186 187 vector<VkBuffer> storageBuffers_asteroidPipeline;188 vector<VkDeviceMemory> storageBuffersMemory_asteroidPipeline;189 vector<VkDescriptorBufferInfo> storageBufferInfoList_asteroidPipeline;190 178 191 179 UBO_VP_mats asteroid_VP_mats;
Note:
See TracChangeset
for help on using the changeset viewer.