Enum ocl::builders::BufferCmdKind
[−]
[src]
pub enum BufferCmdKind<'c, T> where
T: 'c, {
Unspecified,
Read,
Write,
Map,
Copy {
dst_buffer: &'c MemCore,
dst_offset: Option<usize>,
len: Option<usize>,
},
Fill {
pattern: T,
len: Option<usize>,
},
CopyToImage {
image: &'c MemCore,
dst_origin: [usize; 3],
region: [usize; 3],
},
GLAcquire,
GLRelease,
}
The type of operation to be performed by a command.
Variants
Unspecified
Read
Write
Map
Copy
Fields of Copy
dst_buffer: &'c MemCore | |
dst_offset: Option<usize> | |
len: Option<usize> |
Fill
Fields of Fill
pattern: T | |
len: Option<usize> |
CopyToImage
Fields of CopyToImage
image: &'c MemCore | |
dst_origin: [usize; 3] | |
region: [usize; 3] |
GLAcquire
GLRelease