pub enum ImageCmdKind<'c, T: 'c> {
Unspecified,
Read {
data: &'c mut [T],
},
Write {
data: &'c [T],
},
Map,
Fill {
color: T,
},
Copy {
dst_image: &'c MemCore,
dst_origin: [usize; 3],
},
CopyToBuffer {
buffer: &'c MemCore,
dst_origin: usize,
},
GLAcquire,
GLRelease,
}The type of operation to be performed by a command.
Variants
UnspecifiedReadFields of Read
WriteFields of Write
MapFillFields of Fill
CopyFields of Copy
CopyToBufferFields of CopyToBuffer
GLAcquireGLReleaseTrait Implementations
Formats the value using the given formatter.