/// 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_dimensions<S, D, Px>(
        self,
        source: S,
        destination: D,
        offset: [u32; 3],
        size: [u32; 3],
        first_layer: u32,
        num_layers: u32,
        mipmap: u32,
    ) -> 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_dimensions(
                source,
                destination,
                offset,
                size,
                first_layer,
                num_layers,
                mipmap,
            )
        })
    }
pub fn copy_image_to_buffer_dimensions < S , D , Px > ( self , source : S , destination : D , offset : [ u32 ; 3 ] , size : [ u32 ; 3 ] , first_layer : u32 , num_layers : u32 , mipmap : u32 , ) -> 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_dimensions ( source , destination , offset , size , first_layer , num_layers , mipmap , ) } ) }
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
offset
[u32; 3]
size
[u32; 3]
first_layer
u32
num_layers
u32
mipmap
u32