library / com.otaliastudios.opengl.core / Egloo

Egloo

object Egloo

Contains static utilities for EGL and GLES.

Properties

IDENTITY_MATRIX

val IDENTITY_MATRIX: FloatArray

Identify matrix for general use.

SIZE_OF_FLOAT

const val SIZE_OF_FLOAT: Int

Functions

checkEglError

fun checkEglError(opName: String): Unit

Checks for EGL errors.

checkGlError

fun checkGlError(opName: String): Unit

Checks for GLES errors.

checkGlProgramLocation

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

Checks for program handles.

logCurrent

fun logCurrent(msg: String): Unit

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