GlTexture

class GlTexture : GlBindable

Constructors

GlTexture
Link copied to clipboard
common
fun GlTexture(unit: Int = GL_TEXTURE0.toInt(), target: Int = GL_TEXTURE_EXTERNAL_OES.toInt(), id: Int? = null)
GlTexture
Link copied to clipboard
common
fun GlTexture(unit: Int, target: Int, width: Int, height: Int, format: Int = GL_RGBA.toInt(), internalFormat: Int = format, type: Int = GL_UNSIGNED_BYTE.toInt())

Functions

bind
Link copied to clipboard
common
open override fun bind()
release
Link copied to clipboard
common
fun release()
unbind
Link copied to clipboard
common
open override fun unbind()

Properties

format
Link copied to clipboard
common
val format: Int?
height
Link copied to clipboard
common
val height: Int?
id
Link copied to clipboard
common
val id: Int
target
Link copied to clipboard
common
val target: Int
type
Link copied to clipboard
common
val type: Int?
unit
Link copied to clipboard
common
val unit: Int
width
Link copied to clipboard
common
val width: Int?