public static final enum

Megacool.CaptureMethod

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ co.megacool.megacool.Megacool.CaptureMethod

Class Overview

Used to specify how captures should be performed.

Summary

Enum Values
Megacool.CaptureMethod  OPENGLES2  Captures via OpenGL ES 2. 
Megacool.CaptureMethod  OPENGLES3  Captures via OpenGL ES 3. 
Megacool.CaptureMethod  VIEW  Re-draws the given view. 
Public Methods
static Megacool.CaptureMethod valueOf(String name)
final static CaptureMethod[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Megacool.CaptureMethod OPENGLES2

Captures via OpenGL ES 2. Setting this requires also setting a texture to capture from using the native function `void mcl_set_capture_texture(void *texture_pointer)` with the GLint texture name of a texture that holds the data to be captured.

You have to call notifyRenderComplete() at some point during the graphics pipeline to make this work.

Ignored on API level < 18.

public static final Megacool.CaptureMethod OPENGLES3

Captures via OpenGL ES 3. You have to call notifyRenderComplete() at some point during the graphics pipeline to make this work.

Ignored on API level < 18.

public static final Megacool.CaptureMethod VIEW

Re-draws the given view.

Public Methods

public static Megacool.CaptureMethod valueOf (String name)

public static final CaptureMethod[] values ()