java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | co.megacool.megacool.Megacool.CaptureMethod |
Used to specify how captures should be performed.
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
|
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.
Captures via OpenGL ES 3. You have to call notifyRenderComplete()
at some point
during the graphics pipeline to make this work.