Searched refs:vkDeviceMemoryPtr (Results 1 – 1 of 1) sorted by relevance
67 VkDeviceMemory *vkDeviceMemoryPtr = reinterpret_cast<VkDeviceMemory *>( in allocateAndBindImageMemory() local69 if(!vkDeviceMemoryPtr) in allocateAndBindImageMemory()74 VkResult status = vkAllocateMemory(device, &allocateInfo, nullptr, vkDeviceMemoryPtr); in allocateAndBindImageMemory()77 deallocate(vkDeviceMemoryPtr, DEVICE_MEMORY); in allocateAndBindImageMemory()81 imageMemory = Cast(*vkDeviceMemoryPtr); in allocateAndBindImageMemory()82 vkBindImageMemory(device, *image, *vkDeviceMemoryPtr, 0); in allocateAndBindImageMemory()85 deallocate(vkDeviceMemoryPtr, DEVICE_MEMORY); in allocateAndBindImageMemory()