MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / bind_buffer

Method bind_buffer

framework/core/command_buffer.h:487–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487template <vkb::BindingType bindingType>
488inline 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 }

Callers 10

drawMethod · 0.45
drawMethod · 0.45
update_uniform_implMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
update_uniformMethod · 0.45
drawMethod · 0.45
draw_renderpassMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by 1

drawMethod · 0.36