pub fn insert_image(
        &self,
        image: VkImage,
    ) -> ResourceArc<ImageResource> {
        let raw_image = image.take_raw().unwrap();
        self.insert_raw_image(raw_image)
    }
// A key difference between this insert_image and the insert_image in a DynResourceAllocator
// is that these can be retrieved. However, a mutable reference is required. This one is
// more appropriate to use with descriptors loaded from assets, and DynResourceAllocator with runtime-created
// descriptors
A key difference between this insert_image and the insert_image in a DynResourceAllocator
is that these can be retrieved. However, a mutable reference is required. This one is
more appropriate to use with descriptors loaded from assets, and DynResourceAllocator with runtime-created
descriptors
A key difference between this insert_image and the insert_image in a DynResourceAllocator is that these can be retrieved . However a mutable reference is required . This one is more appropriate to use with descriptors loaded from assets and DynResourceAllocator with runtime - created descriptors
pub fn insert_image(
        &self,
        image: VkImage,
    ) -> ResourceArc<ImageResource> {
        let raw_image = image.take_raw().unwrap();
        self.insert_raw_image(raw_image)
    }
pub fn insert_image ( & self , image : VkImage , ) -> ResourceArc < ImageResource > { let raw_image = image . take_raw ( ) . unwrap ( ) ; self . insert_raw_image ( raw_image ) }
A key difference between this insert_image and the insert_image in a DynResourceAllocator
is that these can be retrieved.
A key difference between this insert_image and the insert_image in a DynResourceAllocator is that these can be retrieved .
&self
image
VkImage
&self
image
VkImage