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

Method bind_index_buffer

framework/core/command_buffer.h:533–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531template <vkb::BindingType bindingType>
532inline void CommandBuffer<bindingType>::bind_input(ImageViewType const &image_view, uint32_t set, uint32_t binding, uint32_t array_element)
533{
534 if constexpr (bindingType == vkb::BindingType::Cpp)
535 {
536 resource_binding_state.bind_input(image_view, set, binding, array_element);
537 }
538 else
539 {
540 resource_binding_state.bind_input(reinterpret_cast<vkb::core::HPPImageView const &>(image_view), set, binding, array_element);
541 }
542}
543
544template <vkb::BindingType bindingType>
545inline void CommandBuffer<bindingType>::bind_lighting(vkb::rendering::LightingState<bindingType> &lighting_state, uint32_t set, uint32_t binding)
546{

Callers 4

draw_implMethod · 0.80
update_buffersMethod · 0.80
draw_submesh_commandMethod · 0.80
draw_submesh_commandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected