Companion

object Companion

Properties

Link copied to clipboard
const val DEBUG_CHECK_GL_ERROR: Int = 1

Check glError() after every GL call and throw an exception if glError indicates that an error has occurred. This can be used to help track down which OpenGL ES call is causing an error.

Link copied to clipboard
const val DEBUG_LOG_GL_CALLS: Int = 2

Logs GL calls to the system log at "verbose" level with tag "GLTextureView".

Link copied to clipboard
const val EGL_CONTEXT_CLIENT_VERSION: Int = 12440

Flag to set client version to GL ES2.0.

Link copied to clipboard
const val MAIN_THREAD: String

The main thread name.

Link copied to clipboard

The renderer is called continuously to re-render the scene.

Link copied to clipboard

The renderer only renders when the surface is created, or when requestRender is called.