GlShader

open class GlShader

Constructors

Link copied to clipboard
constructor(vertexSource: String, fragmentSource: String)

Functions

Link copied to clipboard
open fun getAttribLocation(label: String): Int
Link copied to clipboard
open fun getUniformLocation(label: String): Int
Link copied to clipboard
open fun release()
Link copied to clipboard
open fun setVertexAttribArray(label: String, dimension: Int, buffer: FloatBuffer)
open fun setVertexAttribArray(label: String, dimension: Int, stride: Int, buffer: FloatBuffer)
Enable and upload a vertex array for attribute `label`.
Link copied to clipboard
open fun useProgram()