Egloo

object Egloo

Contains static utilities for EGL and GLES.

Functions

checkEglError
Link copied to clipboard
common
fun checkEglError(opName: String)
Checks for EGL errors.
checkGlError
Link copied to clipboard
common
fun checkGlError(opName: String)
Checks for GLES errors.
checkGlProgramLocation
Link copied to clipboard
common
fun checkGlProgramLocation(location: Int, label: String)
Checks for program handles.
logCurrent
Link copied to clipboard
common
fun logCurrent(msg: String)
Writes the current display, context, and surface to the log.

Properties

IDENTITY_MATRIX
Link copied to clipboard
common
val IDENTITY_MATRIX: FloatArray
Identify matrix for general use.
SIZE_OF_BYTE
Link copied to clipboard
common
const val SIZE_OF_BYTE: Int = 1
SIZE_OF_FLOAT
Link copied to clipboard
common
const val SIZE_OF_FLOAT: Int = 4
SIZE_OF_INT
Link copied to clipboard
common
const val SIZE_OF_INT: Int = 4
SIZE_OF_SHORT
Link copied to clipboard
common
const val SIZE_OF_SHORT: Int = 2