Contents

render(_:toBitmap:rowBytes:bounds:format:colorSpace:)

Renders to the given bitmap.

Declaration

func render(_ image: CIImage, toBitmap data: UnsafeMutableRawPointer, rowBytes: Int, bounds: CGRect, format: CIFormat, colorSpace: CGColorSpace?)

Parameters

  • image:

    A Core Image image object.

  • data:

    Storage for the bitmap data.

  • rowBytes:

    The bytes per row.

  • bounds:

    The bounds of the bitmap data.

  • format:

    The format of the bitmap data.

  • colorSpace:

    The color space for the data. Pass NULL if you want to use the output color space of the context.

See Also

Rendering Images