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

Method clear

framework/core/command_buffer.h:666–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664template <vkb::BindingType bindingType>
665inline void CommandBuffer<bindingType>::copy_buffer(vkb::core::Buffer<bindingType> const &src_buffer,
666 vkb::core::Buffer<bindingType> const &dst_buffer,
667 DeviceSizeType size)
668{
669 if constexpr (bindingType == vkb::BindingType::Cpp)
670 {
671 copy_buffer_impl(src_buffer, dst_buffer, size);
672 }
673 else
674 {
675 copy_buffer_impl(reinterpret_cast<vkb::core::BufferCpp const &>(src_buffer),
676 reinterpret_cast<vkb::core::BufferCpp const &>(dst_buffer),
677 static_cast<vk::DeviceSize>(size));
678 }
679}

Callers 4

begin_implMethod · 0.45
begin_render_passMethod · 0.45
next_subpassMethod · 0.45
flush_push_constantsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected