Type Alias wgpu::core::command::ImageCopyBuffer

source ·
pub type ImageCopyBuffer = ImageCopyBuffer<Id<Buffer<Api>>>;

Aliased Type§

struct ImageCopyBuffer {
    pub buffer: Id<Buffer<Api>>,
    pub layout: ImageDataLayout,
}

Fields§

§buffer: Id<Buffer<Api>>

The buffer to be copied to/from.

§layout: ImageDataLayout

The layout of the texture data in this buffer.