Skip to main content

bind_image_memory

Function bind_image_memory 

Source
pub unsafe fn bind_image_memory(
    device: VkHandleRef<'_, VkDevice>,
    image: VkHandleRefMut<'_, VkImage>,
    memory: VkHandleRef<'_, VkDeviceMemory>,
    offset: VkDeviceSize,
) -> Result<()>
Expand description

ยงSafety

  • image and memory must be created from device.