interleave(destination:)
Interleaves the 8-bit-per-channel, four-channel multiple-plane buffer and writes the result to an interleaved pixel buffer.
Declaration
func interleave(destination: vImage.PixelBuffer<vImage.Interleaved8x4>)Parameters
- destination:
The destination pixel buffer.
Discussion
Use this function to interleave a buffer and overwrite an interleaved buffer with a copy of the source channels.