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
Unspecified
Read
Fields of Read
Write
Fields of Write
Map
Fill
Fields of Fill
Copy
Fields of Copy
CopyToBuffer
Fields of CopyToBuffer
GLAcquire
GLRelease
Trait Implementations
Formats the value using the given formatter.