pub unsafe fn map_memory<T>(&self, memory: DeviceMemoryHandle, offset_bytes: u64, size_bytes: u64,
            flags: MemoryMapFlags) -> VdResult<*mut T> {
        let mut data = ptr::null_mut();
        let result = self.proc_addr_loader().vk.vkMapMemory(self.handle().to_raw(),
            memory.to_raw(), offset_bytes, size_bytes, flags.bits(), &mut data);
        error::check(result, "vkMapMemory", data as *mut T)
    }
/// Maps a memory object into application address space.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkMapMemory.html
//
// *PFN_vkMapMemory)(VkDevice device, VkDeviceMemory memory, VkDeviceSize
// offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData);
Maps a memory object into application address space.


Maps a memory object into application address space .
pub unsafe fn map_memory<T>(&self, memory: DeviceMemoryHandle, offset_bytes: u64, size_bytes: u64,
            flags: MemoryMapFlags) -> VdResult<*mut T> {
        let mut data = ptr::null_mut();
        let result = self.proc_addr_loader().vk.vkMapMemory(self.handle().to_raw(),
            memory.to_raw(), offset_bytes, size_bytes, flags.bits(), &mut data);
        error::check(result, "vkMapMemory", data as *mut T)
    }
pub unsafe fn map_memory < T > ( & self , memory : DeviceMemoryHandle , offset_bytes : u64 , size_bytes : u64 , flags : MemoryMapFlags ) -> VdResult < * mut T > { let mut data = ptr :: null_mut ( ) ; let result = self . proc_addr_loader ( ) . vk . vkMapMemory ( self . handle ( ) . to_raw ( ) , memory . to_raw ( ) , offset_bytes , size_bytes , flags . bits ( ) , & mut data ) ; error :: check ( result , " " , data as * mut T ) }
Maps a memory object into application address space.
Maps a memory object into application address space .
&self
memory
DeviceMemoryHandle
offset_bytes
u64
size_bytes
u64
flags
MemoryMapFlags
&self
memory
DeviceMemoryHandle
offset_bytes
u64
size_bytes
u64
flags
MemoryMapFlags