public interface RenderExtension
RenderExtension
is used for ExternalRendering
to control the rendering of the Wikitude SDK.
It is provided by ExternalRendering.onRenderExtensionCreated(renderExtension)
.Modifier and Type | Method and Description |
---|---|
void |
onDrawFrame(javax.microedition.khronos.opengles.GL10 unused)
Updates the rendering of the Wikitude SDK.
|
void |
onPause() |
void |
onResume() |
void |
onSurfaceChanged(javax.microedition.khronos.opengles.GL10 unused,
int width,
int height) |
void |
onSurfaceCreated(javax.microedition.khronos.opengles.GL10 unused,
javax.microedition.khronos.egl.EGLConfig config) |
void |
onUpdate()
Updates the logic of the Wikitude SDK.
|
void |
useSeparatedRenderAndLogicUpdates()
Until Wikitude SDK version 2.1 onDrawFrame triggered also a logic update inside the SDK core.
|
void onPause()
void onResume()
void useSeparatedRenderAndLogicUpdates()
void onUpdate()
useSeparatedRenderAndLogicUpdates()
was called before,
otherwise the logic is updated with onDrawFrame.void onDrawFrame(javax.microedition.khronos.opengles.GL10 unused)
useSeparatedRenderAndLogicUpdates()
was not called before.void onSurfaceCreated(javax.microedition.khronos.opengles.GL10 unused, javax.microedition.khronos.egl.EGLConfig config)
void onSurfaceChanged(javax.microedition.khronos.opengles.GL10 unused, int width, int height)