To run the example project, clone the repo, and run pod install
from the Example directory first.
<GPUImageVideoCamera: 0x156570ff0>
└<GPUImageToonFilter: 0x156645c00>
└<GPUImageMonochromeFilter: 0x156646370>
└<GPUImageView: 0x156584ee0; frame = (0 0; 375 667); autoresize = W+H; layer = <CAEAGLLayer: 0x156585130>>
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
DebugHead.sharedInstance.prepare(menuClasses: [DebugMenuGPUImageDumper.self])
return true
}
GPUImageDumper.sharedInstance.appendRootInstance(videoCamera)
or
class MyGPUImageVideoCamera: GPUImageVideoCamera {
override init() {
super.init()
GPUImageDumper.sharedInstance.appendRootInstance(self)
}
}
DebugMenuGPUImageDumper is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "DebugMenuGPUImageDumper"
Koji Murata, malt.koji@gmail.com
DebugMenuGPUImageDumper is available under the MIT license. See the LICENSE file for more info.