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

Method bind_image

framework/core/command_buffer.h:502–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500 binding,
501 array_element);
502 }
503}
504
505template <vkb::BindingType bindingType>
506inline void CommandBuffer<bindingType>::bind_image(ImageViewType const &image_view, uint32_t set, uint32_t binding, uint32_t array_element)
507{
508 if constexpr (bindingType == vkb::BindingType::Cpp)
509 {
510 resource_binding_state.bind_image(image_view, set, binding, array_element);
511 }
512 else
513 {
514 resource_binding_state.bind_image(reinterpret_cast<vkb::core::HPPImageView const &>(image_view), set, binding, array_element);
515 }
516}
517
518template <vkb::BindingType bindingType>
519inline void CommandBuffer<bindingType>::bind_index_buffer(vkb::core::Buffer<bindingType> const &buffer, DeviceSizeType offset, IndexTypeType index_type)
520{

Callers 10

draw_implMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
draw_submesh_implMethod · 0.45
render_compute_postMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
draw_renderpassMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected