org.rajawali3d.wear / WearActivity

WearActivity

abstract class WearActivity : WearableActivity

Author
Ian Thomas (toxicbakery@gmail.com)

Author
Jared Woolston (jwoolston@tenkiv.com)

Constructors

<init>

WearActivity()

Properties

renderer

var renderer: ISurfaceRenderer!

Functions

createEglConfigChooser

abstract fun createEglConfigChooser(): RajawaliEGLConfigChooser!

The config chooser to apply to the SurfaceView when multi-sampling is enabled.

getAntiAliasingConfig

open fun getAntiAliasingConfig(): ISurface.ANTI_ALIASING_CONFIG!

Flag for multi-sampling.

getRenderer

open fun getRenderer(): ISurfaceRenderer!

Get the renderer currently set to the SurfaceView.

getTargetGLVersion

open fun getTargetGLVersion(): Int

The GLES version to apply to the SurfaceView.

onCreate

open fun onCreate(savedInstanceState: Bundle!): Unit

onEnterAmbient

open fun onEnterAmbient(ambientDetails: Bundle!): Unit

onExitAmbient

open fun onExitAmbient(): Unit

onUpdateAmbient

open fun onUpdateAmbient(): Unit

setRenderer

open fun setRenderer(renderer: ISurfaceRenderer!): Unit

Set the renderer for the SurfaceView.

updateDisplayAmbient

abstract fun updateDisplayAmbient(): Unit

updateDisplayNormal

abstract fun updateDisplayNormal(): Unit