Function vulkano_framing::upload [] [src]

pub fn upload<W, T, F>(
    queue: Arc<Queue>,
    format: F,
    image: T
) -> Result<(Arc<ImmutableImage<F>>, CommandBufferExecFuture<NowFuture, AutoCommandBuffer>), ImageCreationError> where
    T: Image,
    F: FormatDesc + AcceptsPixels<W> + Send + Sync + 'static,
    W: From<T::Pixel> + Clone + Send + Sync + 'static,
    Format: AcceptsPixels<W>, 

Upload a frame to the GPU as a texture.