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

Method clear

framework/core/allocated.h:423–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421
422template <vkb::BindingType bindingType, typename HandleType>
423inline void Allocated<bindingType, HandleType>::clear()
424{
425 mapped_data = nullptr;
426 persistent = false;
427 allocation_create_info = {};
428}
429
430template <vkb::BindingType bindingType, typename HandleType>
431inline typename Allocated<bindingType, HandleType>::BufferType Allocated<bindingType, HandleType>::create_buffer(BufferCreateInfoType const &create_info, DeviceSizeType alignment)

Callers 15

~CommandPoolBaseMethod · 0.45
reset_poolMethod · 0.45
~DeviceMethod · 0.45
resetMethod · 0.45
resetGeometriesMethod · 0.45
resetMethod · 0.45
clear_componentsMethod · 0.45
clear_dataMethod · 0.45
clear_dataMethod · 0.45
terminateMethod · 0.45
VulkanStatsProviderMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected