Overwrites an ARGB16U image buffer with the provided pixel value.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
An ARGB pixel value.
A pointer to a vImage buffer structure that contains the source image whose data you want to overwrite.
A pointer to a vImage buffer data structure. You're responsible for filling out the
rowfields of this structure, and for allocating a data buffer of the appropriate size. On return, the data buffer this structure points to contains the destination image data. When you no longer need the data buffer, you must deallocate the memory.
An output value that selects the plane (or planes) from the ARGB16U source buffer that you want replaced with the pixel value. The value
0x8selects the alpha channel,
0x4the red channel,
0x2the green channel, and
0x1the blue channel. You can add these values together to select multiple channels.
The options to use when performing the operation. If you plan to perform your own tiling or use multithreading, pass
Image Do Not Tile