pub unsafe fn bind_image_memory(
allocator: &mut Allocator<'_>,
image: Image,
allocation: &Allocation,
) -> Result<(), AllocError>Expand description
Bind a live ordinary image at its allocation’s native offset; failure retains both objects.
§Errors
Same checked identity/association/requirement/type/range and native errors as buffer binding.
§Safety
Image must be live, unbound, non-disjoint/non-sparse/non-external, non-aliased and from this device. Meet native feature and synchronization valid usage. Never infer linear pixel layout from mapping optimal/unknown image storage.