# GlUtil

@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN_MR2)
open class GlUtil

Created by pedro on 9/09/17.

## Constructors

GlUtil
Link copied to clipboard
constructor()

## Functions

checkEglError
Link copied to clipboard
open fun checkEglError(msg: String)
checkGlError
Link copied to clipboard
open fun checkGlError(op: String)
createExternalTextures
Link copied to clipboard
open fun createExternalTextures(quantity: Int, texturesId: Array<Int>, offset: Int)
createProgram
Link copied to clipboard
open fun createProgram(vertexSource: String, fragmentSource: String): Int
createTextures
Link copied to clipboard
open fun createTextures(quantity: Int, texturesId: Array<Int>, offset: Int)
open fun createTextures(quantity: Int, texturesId: Array<Int>, offset: Int, filter: Int, isExternal: Boolean)
disableResources
Link copied to clipboard
open fun disableResources(vertex: Array<Int>)
getBitmap
Link copied to clipboard
open fun getBitmap(streamWidth: Int, streamHeight: Int): Bitmap
getStringFromRaw
Link copied to clipboard
open fun getStringFromRaw(context: Context, id: Int): String
loadShader
Link copied to clipboard
open fun loadShader(shaderType: Int, source: String): Int