| 79 | } |
| 80 | |
| 81 | VulkanCommandBuffer* VkCommandBufferManager::GetDrawCommands() |
| 82 | { |
| 83 | if (!mDrawCommands) |
| 84 | { |
| 85 | mDrawCommands = mCommandPool->createBuffer(); |
| 86 | mDrawCommands->SetDebugName("VulkanRenderDevice.mDrawCommands"); |
| 87 | mDrawCommands->begin(); |
| 88 | } |
| 89 | return mDrawCommands.get(); |
| 90 | } |
| 91 | |
| 92 | void VkCommandBufferManager::BeginFrame() |
| 93 | { |
no test coverage detected