MCPcopy Create free account
hub / github.com/comaps/comaps / GetMemory

Method GetMemory

libs/drape/vulkan/vulkan_object_manager.hpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 VulkanMemoryManager::AllocationPtr m_allocation;
29
30 VkDeviceMemory GetMemory() const
31 {
32 ASSERT(m_allocation != nullptr, ());
33 ASSERT(m_allocation->m_memoryBlock != nullptr, ());
34 return m_allocation->m_memoryBlock->m_memory;
35 }
36
37 uint32_t GetAlignedOffset() const
38 {

Callers 5

CreateBufferMethod · 0.80
CreateImageMethod · 0.80
MapUnsafeMethod · 0.80
FlushUnsafeMethod · 0.80
UnmapUnsafeMethod · 0.80

Calls 1

ASSERTFunction · 0.85

Tested by

no test coverage detected