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

Method create_command_buffer

framework/core/device.h:265–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263
264template <vkb::BindingType bindingType>
265inline typename Device<bindingType>::CommandBufferType Device<bindingType>::create_command_buffer(CommandBufferLevelType level, bool begin) const
266{
267 if constexpr (bindingType == vkb::BindingType::Cpp)
268 {
269 return create_command_buffer_impl(this->get_handle(), level, begin);
270 }
271 else
272 {
273 return static_cast<VkCommandBuffer>(
274 create_command_buffer_impl(static_cast<vk::Device>(this->get_handle()), static_cast<vk::CommandBufferLevel>(level), begin));
275 }
276}
277
278template <vkb::BindingType bindingType>
279inline typename Device<bindingType>::CommandPoolType Device<bindingType>::create_command_pool(uint32_t queue_index, CommandPoolCreateFlagsType flags)

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
run_gpu_cullMethod · 0.80

Calls 1

get_handleMethod · 0.45

Tested by

no test coverage detected