| 485 | } |
| 486 | |
| 487 | template <vkb::BindingType bindingType> |
| 488 | inline void CommandBuffer<bindingType>::bind_image( |
| 489 | ImageViewType const &image_view, SamplerType const &sampler, uint32_t set, uint32_t binding, uint32_t array_element) |
| 490 | { |
| 491 | if constexpr (bindingType == vkb::BindingType::Cpp) |
| 492 | { |
| 493 | resource_binding_state.bind_image(image_view, sampler, set, binding, array_element); |
| 494 | } |
| 495 | else |
| 496 | { |
| 497 | resource_binding_state.bind_image(reinterpret_cast<vkb::core::HPPImageView const &>(image_view), |
| 498 | reinterpret_cast<vkb::core::HPPSampler const &>(sampler), |
| 499 | set, |
| 500 | binding, |
| 501 | array_element); |
| 502 | } |
no outgoing calls