MCPcopy Create free account
hub / github.com/defold/defold / UnmapMemory

Method UnmapMemory

engine/graphics/src/vulkan/graphics_vulkan_device.cpp:260–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258 }
259
260 void DeviceBuffer::UnmapMemory(VkDevice vk_device)
261 {
262 if (m_MappedDataPtr == 0)
263 {
264 return;
265 }
266 vkUnmapMemory(vk_device, m_Handle.m_Memory);
267 m_MappedDataPtr = 0;
268 }
269
270 const VulkanResourceType DeviceBuffer::GetType()
271 {

Callers 4

DestroyResourceDeferredFunction · 0.80
VulkanReadPixelsFunction · 0.80
WriteToDeviceBufferFunction · 0.80
CreateScratchBufferFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected