Type Alias wgpu_core::command::ImageCopyBuffer
source · pub type ImageCopyBuffer = ImageCopyBuffer<BufferId>;
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.