Contents

overwriteChannels(withScalar:)

Overwrites the pixels of the pixel buffer with the provided 32-bit scalar value.

Declaration

func overwriteChannels(withScalar scalar: Pixel_F)

Parameters

  • scalar:

    The value that the function writes to the channels.

See Also

Overwriting Channels