| 567 | template <vkb::BindingType bindingType> |
| 568 | inline void CommandBuffer<bindingType>::bind_vertex_buffers(uint32_t first_binding, |
| 569 | std::vector<std::reference_wrapper<const vkb::core::Buffer<bindingType>>> const &buffers, |
| 570 | std::vector<DeviceSizeType> const &offsets) |
| 571 | { |
| 572 | if constexpr (bindingType == vkb::BindingType::Cpp) |
| 573 | { |
| 574 | bind_vertex_buffers_impl(first_binding, buffers, offsets); |
| 575 | } |
| 576 | else |
| 577 | { |
| 578 | bind_vertex_buffers_impl(first_binding, |
| 579 | reinterpret_cast<std::vector<std::reference_wrapper<vkb::core::BufferCpp const>> const &>(buffers), |
| 580 | reinterpret_cast<std::vector<vk::DeviceSize> const &>(offsets)); |
| 581 | } |
| 582 | } |
no test coverage detected