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

Method flush_command_buffer

framework/core/device.h:340–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338
339template <vkb::BindingType bindingType>
340inline void Device<bindingType>::flush_command_buffer(CommandBufferType command_buffer, QueueType queue, bool free, SemaphoreType signal_semaphore) const
341{
342 if constexpr (bindingType == vkb::BindingType::Cpp)
343 {
344 flush_command_buffer_impl(this->get_handle(), command_buffer, queue, free, signal_semaphore);
345 }
346 else
347 {
348 flush_command_buffer_impl(static_cast<vk::Device>(this->get_handle()),
349 static_cast<vk::CommandBuffer>(command_buffer),
350 static_cast<vk::Queue>(queue),
351 free,
352 static_cast<vk::Semaphore>(signal_semaphore));
353 }
354}
355
356template <vkb::BindingType bindingType>
357inline vkb::core::CommandPool<bindingType> &Device<bindingType>::get_command_pool() const

Callers 15

load_textureMethod · 0.80
load_texture_arrayMethod · 0.80
load_texture_cubemapMethod · 0.80
with_command_bufferMethod · 0.80
load_textureMethod · 0.80
load_texture_arrayMethod · 0.80
load_texture_cubemapMethod · 0.80
with_command_bufferMethod · 0.80
buildMethod · 0.80
create_imageMethod · 0.80
transcode_textureMethod · 0.80
create_imageMethod · 0.80

Calls 1

get_handleMethod · 0.45

Tested by

no test coverage detected