Instance Method

createCGImage(format:flags:)

Creates a Core Graphics image from the vImage buffer.

Declaration

func createCGImage(format: vImage_CGImageFormat, flags options: vImage.Options = .noFlags) throws -> CGImage

See Also

Buffer Methods

func copy(destinationBuffer: inout vImage_Buffer, flags: vImage.Options)

Copies the vImage buffer to the specified destination buffer.

func free()

Frees the resoures associated with the vImage buffer.