pub type ImageCopyBuffer = ImageCopyBuffer<Id<Buffer<Api>>>;
Available on crate feature wgpu only.

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.