SBSDKFilterMethod

enum SBSDKFilterMethod {}

An enum describing the various modes used to apply an adjustable filter.

  • Automatically selects the fastest available method for filtering.

    Declaration

    Objective-C

    SBSDKFilterMethodAuto

    Swift

    case auto = 0
  • Uses the CPU to run a filter on an image. Slowest option.

    Declaration

    Objective-C

    SBSDKFilterMethodCPU

    Swift

    case CPU = 1
  • Uses the GPU with Apple Metal to run a filter on an image. Fastest option.

    Declaration

    Objective-C

    SBSDKFilterMethodGPUMetal

    Swift

    case gpuMetal = 2