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

Method begin_impl

framework/core/command_buffer.h:329–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329template <vkb::BindingType bindingType>
330inline void CommandBuffer<bindingType>::begin(CommandBufferUsageFlagsType flags,
331 const RenderPassType *render_pass,
332 const FramebufferType *framebuffer,
333 uint32_t subpass_index)
334{
335 if constexpr (bindingType == vkb::BindingType::Cpp)
336 {
337 begin_impl(flags, render_pass, framebuffer, subpass_index);
338 }
339 else
340 {
341 begin_impl(static_cast<vk::CommandBufferUsageFlags>(flags),
342 reinterpret_cast<vkb::core::HPPRenderPass const *>(render_pass),
343 reinterpret_cast<vkb::core::HPPFramebuffer const *>(framebuffer),
344 subpass_index);

Callers

nothing calls this directly

Calls 5

get_subpass_indexMethod · 0.80
resetMethod · 0.45
clearMethod · 0.45
get_handleMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected