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

Method unmap

framework/core/allocated.h:661–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659
660template <vkb::BindingType bindingType, typename HandleType>
661inline void Allocated<bindingType, HandleType>::unmap()
662{
663 if (!persistent && mapped())
664 {
665 vmaUnmapMemory(get_memory_allocator(), allocation);
666 mapped_data = nullptr;
667 }
668}
669
670template <vkb::BindingType bindingType, typename HandleType>
671inline size_t Allocated<bindingType, HandleType>::update(const uint8_t *data, size_t size, size_t offset)

Callers 15

update_buffersMethod · 0.80
screenshotFunction · 0.80
operator()Method · 0.80
operator()Method · 0.80
operator()Method · 0.80
create_index_bufferMethod · 0.80
create_imageMethod · 0.80
operator()Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected