class GlTexture : GlBindable
GlTexture(unit: Int = GLES20.GL_TEXTURE0, target: Int = GLES11Ext.GL_TEXTURE_EXTERNAL_OES, id: Int? = null)GlTexture(unit: Int, target: Int, width: Int, height: Int, format: Int = GLES20.GL_RGBA) |
val id: Int |
|
val target: Int |
|
val unit: Int |
fun bind(): Unit |
|
fun release(): Unit |
|
fun unbind(): Unit |
fun GlBindable.use(block: () -> Unit): Unit |