library
/
com.otaliastudios.opengl.texture
/
GlTexture
common
Gl
Texture
class
GlTexture
:
GlBindable
Content copied to clipboard
Constructors
Functions
Properties
Constructors
GlTexture
Link copied to clipboard
common
@
JvmOverloads
()
fun
GlTexture
(unit:
Int
= GL_TEXTURE0.toInt(), target:
Int
= GL_TEXTURE_EXTERNAL_OES.toInt(), id:
Int
? = null)
Content copied to clipboard
GlTexture
Link copied to clipboard
common
@
JvmOverloads
()
fun
GlTexture
(unit:
Int
, target:
Int
, width:
Int
, height:
Int
, format:
Int
= GL_RGBA.toInt(), internalFormat:
Int
= format, type:
Int
= GL_UNSIGNED_BYTE.toInt())
Content copied to clipboard
Functions
bind
Link copied to clipboard
common
open override fun
bind
()
Content copied to clipboard
release
Link copied to clipboard
common
fun
release
()
Content copied to clipboard
unbind
Link copied to clipboard
common
open override fun
unbind
()
Content copied to clipboard
Properties
format
Link copied to clipboard
common
val
format
:
Int
?
Content copied to clipboard
height
Link copied to clipboard
common
val
height
:
Int
?
Content copied to clipboard
id
Link copied to clipboard
common
val
id
:
Int
Content copied to clipboard
target
Link copied to clipboard
common
val
target
:
Int
Content copied to clipboard
type
Link copied to clipboard
common
val
type
:
Int
?
Content copied to clipboard
unit
Link copied to clipboard
common
val
unit
:
Int
Content copied to clipboard
width
Link copied to clipboard
common
val
width
:
Int
?
Content copied to clipboard