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

Method begin

framework/core/command_buffer.h:315–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313
314template <vkb::BindingType bindingType>
315inline void CommandBuffer<bindingType>::begin_impl(vk::CommandBufferUsageFlags flags, vkb::core::CommandBuffer<bindingType> *primary_cmd_buf)
316{
317 if (level == vk::CommandBufferLevel::eSecondary)
318 {
319 assert(primary_cmd_buf && "A primary command buffer pointer must be provided when calling begin from a secondary one");
320
321 return begin_impl(flags, primary_cmd_buf->current_render_pass, primary_cmd_buf->current_framebuffer, primary_cmd_buf->pipeline_state.get_subpass_index());
322 }
323 else
324 {
325 return begin_impl(flags, nullptr, nullptr, 0);
326 }
327}
328
329template <vkb::BindingType bindingType>

Callers 15

set_dataMethod · 0.45
get_dataMethod · 0.45
updateMethod · 0.45
get_attribute_dataFunction · 0.45
load_sceneMethod · 0.45
load_modelMethod · 0.45

Calls

no outgoing calls

Tested by 1