Changeset c163d81 in opengl-game for sdl-game.hpp
- Timestamp:
- May 19, 2021, 7:16:37 PM (3 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 58453c3
- Parents:
- 1abebc1
- git-author:
- Dmitry Portnoy <dportnoy@…> (05/19/21 19:16:33)
- git-committer:
- Dmitry Portnoy <dportnoy@…> (05/19/21 19:16:37)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sdl-game.hpp
r1abebc1 rc163d81 222 222 BufferSet storageBuffers_modelPipeline; 223 223 VulkanBuffer<SSBO_ModelObject> objects_modelPipeline; 224 BufferSet uniformBuffers_modelPipeline; 224 225 225 226 // TODO: Maybe make the ubo objects part of the pipeline class since there's only one ubo … … 232 233 233 234 vector<SceneObject<ModelVertex, SSBO_ModelObject>> modelObjects; 234 235 vector<VkBuffer> uniformBuffers_modelPipeline;236 vector<VkDeviceMemory> uniformBuffersMemory_modelPipeline;237 vector<VkDescriptorBufferInfo> uniformBufferInfoList_modelPipeline;238 235 239 236 UBO_VP_mats object_VP_mats; … … 293 290 294 291 void createBufferSet(VkDeviceSize bufferSize, VkBufferUsageFlags flags, VkMemoryPropertyFlags properties, 295 vector<VkBuffer>& buffers, vector<VkDeviceMemory>& buffersMemory, 296 vector<VkDescriptorBufferInfo>& bufferInfoList); 292 BufferSet& set); 297 293 298 294 // TODO: See if it makes sense to rename this to resizeBufferSet() and use it to resize other types of buffers as well
Note:
See TracChangeset
for help on using the changeset viewer.