pub fn copy_image_to_buffer<S, D, Px>(
        self,
        source: S,
        destination: D,
    ) -> Result<Self, CopyBufferImageError>
    where
        S: vk::ImageAccess + Send + Sync + 'static,
        D: vk::TypedBufferAccess<Content = [Px]> + Send + Sync + 'static,
        vk::Format: vk::AcceptsPixels<Px>,
    {
        self.map_cb(move |cb| cb.copy_image_to_buffer(source, destination))
    }
/// Adds a command that copies from an image to a buffer.
Adds a command that copies from an image to a buffer.
Adds a command that copies from an image to a buffer .
pub fn copy_image_to_buffer<S, D, Px>(
        self,
        source: S,
        destination: D,
    ) -> Result<Self, CopyBufferImageError>
    where
        S: vk::ImageAccess + Send + Sync + 'static,
        D: vk::TypedBufferAccess<Content = [Px]> + Send + Sync + 'static,
        vk::Format: vk::AcceptsPixels<Px>,
    {
        self.map_cb(move |cb| cb.copy_image_to_buffer(source, destination))
    }
pub fn copy_image_to_buffer < S , D , Px > ( self , source : S , destination : D , ) -> Result < Self , CopyBufferImageError > where S : vk :: ImageAccess + Send + Sync + ' static , D : vk :: TypedBufferAccess < Content = [ Px ] > + Send + Sync + ' static , vk :: Format : vk :: AcceptsPixels < Px > , { self . map_cb ( move | cb | cb . copy_image_to_buffer ( source , destination ) ) }
Adds a command that copies from an image to a buffer.
Adds a command that copies from an image to a buffer .
self
source
S
destination
D
self
source
S
destination
D