pub struct Output<'a> {
pub data: &'a mut [u8],
pub size: Size,
pub format: PixelFormat,
pub offset: Offset,
}Available on crate feature
unstable only.Expand description
Destination image for an SRM operation.
The transformed image must fit within Self::size at Self::offset.
§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 mut [u8]Destination pixels. See the buffer requirements.
size: SizeFull destination image dimensions.
format: PixelFormatPixel format.
offset: OffsetPosition of the converted image within the destination, in pixels.