MCLCaptureMethod
enum MCLCaptureMethod {}
How screen captures are performed.
-
Re-draw the given view (this is the default)
Declaration
Objective-C
kMCLCaptureMethodView = 0
Swift
case view = 0
-
Capture via OpenGL ES. This requires calling some extra setup that’s not entirely documented yet, contact us if you need help getting this to work.
Declaration
Objective-C
kMCLCaptureMethodOpenGL
Swift
case openGL = 1
-
Capture via Metal. This requires calling some extra setup that’s not entirely documented yet, contact us if you need help getting this to work.
Declaration
Objective-C
kMCLCaptureMethodMetal
Swift
case metal = 2