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

Method ~CommandPoolBase

framework/core/command_pool_base.cpp:65–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65CommandPoolBase::~CommandPoolBase()
66{
67 // clear command buffers before destroying the command pool
68 primary_command_buffers.clear();
69 secondary_command_buffers.clear();
70
71 // Destroy command pool
72 if (handle)
73 {
74 device.get_handle().destroyCommandPool(handle);
75 }
76}
77
78vkb::core::DeviceCpp &CommandPoolBase::get_device()
79{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
get_handleMethod · 0.45

Tested by

no test coverage detected