/// Creates a CPU visible staging buffer that has the TRANSFER_SRC usage bit
/// flipped.
Creates a CPU visible staging buffer that has the TRANSFER_SRC usage bit
flipped.
Creates a CPU visible staging buffer that has the TRANSFER_SRC usage bit flipped .
fn create_staging_buffer(
    &self, buffer_size: u64,
  ) -> SarektResult<(vk::Buffer, vk_mem::Allocation, vk_mem::AllocationInfo)> {
    info!("Creating staging buffer");
    self.create_cpu_accessible_buffer(buffer_size, vk::BufferUsageFlags::TRANSFER_SRC)
  }
fn create_staging_buffer ( & self , buffer_size : u64 , ) -> SarektResult < ( vk :: Buffer , vk_mem :: Allocation , vk_mem :: AllocationInfo ) > { info ! ( " " ) ; self . create_cpu_accessible_buffer ( buffer_size , vk :: BufferUsageFlags :: TRANSFER_SRC ) }
Creates a CPU visible staging buffer that has the TRANSFER_SRC usage bit
flipped.
Creates a CPU visible staging buffer that has the TRANSFER_SRC usage bit flipped .
&self
buffer_size
u64