Changeset c074f81 in opengl-game for vulkan-game.cpp
- Timestamp:
- Jun 8, 2021, 2:29:12 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 8aa4888
- Parents:
- 567fa88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.cpp
r567fa88 rc074f81 1161 1161 explosion_UBO.cur_time = curTime; 1162 1162 1163 VulkanUtils::copyDataToMemory(device, object_VP_mats, uniformBuffers_modelPipeline.memory[imageIndex], 0); 1164 1165 VulkanUtils::copyDataToMemory(device, ship_VP_mats, uniformBuffers_shipPipeline.memory[imageIndex], 0); 1166 1167 VulkanUtils::copyDataToMemory(device, asteroid_VP_mats, uniformBuffers_asteroidPipeline.memory[imageIndex], 0); 1168 1169 VulkanUtils::copyDataToMemory(device, laser_VP_mats, uniformBuffers_laserPipeline.memory[imageIndex], 0); 1170 1171 VulkanUtils::copyDataToMemory(device, explosion_UBO, uniformBuffers_explosionPipeline.memory[imageIndex], 0); 1163 VulkanUtils::copyDataToMemory(device, &object_VP_mats, uniformBuffers_modelPipeline.memory[imageIndex], 0, 1164 sizeof(object_VP_mats), false); 1165 1166 VulkanUtils::copyDataToMemory(device, &ship_VP_mats, uniformBuffers_shipPipeline.memory[imageIndex], 0, 1167 sizeof(ship_VP_mats), false); 1168 1169 VulkanUtils::copyDataToMemory(device, &asteroid_VP_mats, uniformBuffers_asteroidPipeline.memory[imageIndex], 0, 1170 sizeof(asteroid_VP_mats), false); 1171 1172 VulkanUtils::copyDataToMemory(device, &laser_VP_mats, uniformBuffers_laserPipeline.memory[imageIndex], 0, 1173 sizeof(laser_VP_mats), false); 1174 1175 VulkanUtils::copyDataToMemory(device, &explosion_UBO, uniformBuffers_explosionPipeline.memory[imageIndex], 0, 1176 sizeof(explosion_UBO), false); 1172 1177 } 1173 1178
Note:
See TracChangeset
for help on using the changeset viewer.