| 37 | } |
| 38 | |
| 39 | Pipeline::~Pipeline() |
| 40 | { |
| 41 | // Destroy pipeline |
| 42 | if (handle != VK_NULL_HANDLE) |
| 43 | { |
| 44 | vkDestroyPipeline(device.get_handle(), handle, nullptr); |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | VkPipeline Pipeline::get_handle() const |
| 49 | { |
nothing calls this directly
no test coverage detected