| 63 | } |
| 64 | |
| 65 | CommandPoolBase::~CommandPoolBase() |
| 66 | { |
| 67 | // clear command buffers before destroying the command pool |
| 68 | primary_command_buffers.clear(); |
| 69 | secondary_command_buffers.clear(); |
| 70 | |
| 71 | // Destroy command pool |
| 72 | if (handle) |
| 73 | { |
| 74 | device.get_handle().destroyCommandPool(handle); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | vkb::core::DeviceCpp &CommandPoolBase::get_device() |
| 79 | { |
nothing calls this directly
no test coverage detected