| 327 | } |
| 328 | |
| 329 | template <vkb::BindingType bindingType> |
| 330 | inline void CommandBuffer<bindingType>::begin(CommandBufferUsageFlagsType flags, |
| 331 | const RenderPassType *render_pass, |
| 332 | const FramebufferType *framebuffer, |
| 333 | uint32_t subpass_index) |
| 334 | { |
| 335 | if constexpr (bindingType == vkb::BindingType::Cpp) |
| 336 | { |
| 337 | begin_impl(flags, render_pass, framebuffer, subpass_index); |
| 338 | } |
| 339 | else |
| 340 | { |
| 341 | begin_impl(static_cast<vk::CommandBufferUsageFlags>(flags), |
| 342 | reinterpret_cast<vkb::core::HPPRenderPass const *>(render_pass), |
| 343 | reinterpret_cast<vkb::core::HPPFramebuffer const *>(framebuffer), |
| 344 | subpass_index); |
nothing calls this directly
no test coverage detected