CoreImageEffect

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKCoreImageEffect)
open class CoreImageEffect : Effect

A concrete Effect that uses a registered Core Image filter.

  • The name of the CIFilter that should be used to apply this effect.

    Declaration

    Swift

    public let ciFilterName: String?
  • Additional options that should be passed to the CIFilter object that will be created when applying this effect.

    Declaration

    Swift

    public let options: [String : AnyObject]?
  • Creates an effect based on a registered Core Image filter.

    Declaration

    Swift

    public init(identifier: String, ciFilterName filterName: String?, displayName: String, options: [String : AnyObject]?)

    Parameters

    identifier

    An identifier that uniquely identifies the effect.

    filterName

    The name of the CIFilter that should be used to apply this effect.

    displayName

    The name that is displayed to the user.

    options

    Additional options that should be passed to the CIFilter object that will be created when applying this effect.

    Return Value

    A newly initialized CoreImageEffect object.

  • Returns a new CIFilter object with the given name and options.

    Declaration

    Swift

    open override var newEffectFilter: CIFilter? { get }