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