LUTEffect

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKLUTEffect)
open class LUTEffect : Effect

A concrete Effect that uses an image-based lookup table (LUT) to alter colors.

  • The URL of the lut image that should be used to generate a color cube.

    Declaration

    Swift

    public let lutURL: URL?
  • Creates an effect that uses the LUT at url lutURL to generate the color cube data for the filter.

    Declaration

    Swift

    public init(identifier: String, lutURL: URL?, displayName: String)

    Parameters

    identifier

    An identifier that uniquely identifies the effect.

    lutURL

    The URL of the lut image that should be used to generate a color cube.

    displayName

    The name that is displayed to the user.

    Return Value

    A newly initialized LUTEffect object.

  • Returns a new CIFilter object.

    Declaration

    Swift

    open override var newEffectFilter: CIFilter? { get }