| 620 | |
| 621 | template <vkb::BindingType bindingType, typename HandleType> |
| 622 | inline uint8_t *Allocated<bindingType, HandleType>::map() |
| 623 | { |
| 624 | if (!persistent && !mapped()) |
| 625 | { |
| 626 | VK_CHECK(vmaMapMemory(get_memory_allocator(), allocation, reinterpret_cast<void **>(&mapped_data))); |
| 627 | assert(mapped_data); |
| 628 | } |
| 629 | return mapped_data; |
| 630 | } |
| 631 | |
| 632 | template <vkb::BindingType bindingType, typename HandleType> |
| 633 | inline bool Allocated<bindingType, HandleType>::mapped() const |
no outgoing calls
no test coverage detected