| 573 | |
| 574 | template <vkb::BindingType bindingType> |
| 575 | inline void VulkanSample<bindingType>::draw(vkb::core::CommandBuffer<bindingType> &command_buffer, vkb::rendering::RenderTarget<bindingType> &render_target) |
| 576 | { |
| 577 | if constexpr (bindingType == BindingType::Cpp) |
| 578 | { |
| 579 | draw_impl(command_buffer, render_target); |
| 580 | } |
| 581 | else |
| 582 | { |
| 583 | draw_impl(reinterpret_cast<vkb::core::CommandBufferCpp &>(command_buffer), |
| 584 | reinterpret_cast<vkb::rendering::RenderTargetCpp &>(render_target)); |
| 585 | } |
| 586 | } |
| 587 | |
| 588 | template <vkb::BindingType bindingType> |
| 589 | inline void VulkanSample<bindingType>::draw_impl(vkb::core::CommandBufferCpp &command_buffer, |
no outgoing calls
no test coverage detected