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

Method bind_pipeline_layout

framework/core/command_buffer.h:569–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567template <vkb::BindingType bindingType>
568inline 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}

Callers 10

draw_implMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
draw_submesh_implMethod · 0.80
drawMethod · 0.80
render_compute_postMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
draw_renderpassMethod · 0.80
drawMethod · 0.80

Calls 1

set_pipeline_layoutMethod · 0.45

Tested by

no test coverage detected