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