Skip to content

FilterHLS

PingAK9 edited this page Nov 26, 2020 · 1 revision

FilterHLS

public struct FilterHLS: Filtering, Equatable

Inheritance

Equatable, Filtering

Initializers

init()

public init()

Properties

defaultValue

var defaultValue: [CIVector] = [ CIVector(x: 0, y: 1, z: 1),
                                                  CIVector(x: 0, y: 1, z: 1),
                                                  CIVector(x: 0, y: 1, z: 1),
                                                  CIVector(x: 0, y: 1, z: 1),
                                                  CIVector(x: 0, y: 1, z: 1),
                                                  CIVector(x: 0, y: 1, z: 1),
                                                  CIVector(x: 0, y: 1, z: 1),
                                                  CIVector(x: 0, y: 1, z: 1),]

inputShift

var inputShift: [CIVector] = FilterHLS.defaultValue

Methods

apply(to:sourceImage:)

public func apply(to image: CIImage, sourceImage: CIImage) -> CIImage
Clone this wiki locally