pub struct Input<'a> {
pub data: &'a [u8],
pub size: Size,
pub format: PixelFormat,
}Available on crate feature
unstable only.Expand description
Source image for an SRM operation.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Fields§
§data: &'a [u8]Source pixels. See the buffer requirements.
size: SizeSource image dimensions.
format: PixelFormatPixel format.