MCLCaptureMethod
enum MCLCaptureMethod {}
How screen captures are performed.
-
Re-draw the given view (this is the default)
Declaration
Objective-C
kMCLCaptureMethodView = MCL_CAPTURE_METHOD_VIEW
Swift
case view = 0
-
Capture via OpenGL ES 2. 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
kMCLCaptureMethodOpenGLES2 = MCL_CAPTURE_METHOD_OPENGLES2
Swift
case openGLES2 = 1
-
Capture via OpenGL ES 3. 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
kMCLCaptureMethodOpenGLES3 = MCL_CAPTURE_METHOD_OPENGLES3
Swift
case openGLES3 = 2
-
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 = MCL_CAPTURE_METHOD_METAL
Swift
case metal = 3