Type Alias wgpu_core::command::transfer::ImageCopyBuffer
source · pub type ImageCopyBuffer = ImageCopyBuffer<BufferId>;
Aliased Type§
struct ImageCopyBuffer {
pub buffer: Id<Buffer>,
pub layout: ImageDataLayout,
}
Fields§
§buffer: Id<Buffer>
The buffer to be copied to/from.
layout: ImageDataLayout
The layout of the texture data in this buffer.