library / com.otaliastudios.opengl.core / Egloo

Egloo

object Egloo

Contains static utilities for EGL and GLES.

Properties

IDENTITY_MATRIX

Identify matrix for general use.

val IDENTITY_MATRIX: FloatArray

SIZE_OF_BYTE

const val SIZE_OF_BYTE: Int

SIZE_OF_FLOAT

const val SIZE_OF_FLOAT: Int

SIZE_OF_INT

const val SIZE_OF_INT: Int

SIZE_OF_SHORT

const val SIZE_OF_SHORT: Int

Functions

checkEglError

Checks for EGL errors.

fun checkEglError(opName: String): Unit

checkGlError

Checks for GLES errors.

fun checkGlError(opName: String): Unit

checkGlProgramLocation

Checks for program handles.

fun checkGlProgramLocation(location: Int, label: String): Unit

logCurrent

Writes the current display, context, and surface to the log.

fun logCurrent(msg: String): Unit