library
/
com.otaliastudios.opengl.texture
/
GlFramebuffer
common
Gl
Framebuffer
class
GlFramebuffer
(id:
Int
?) :
GlBindable
Content copied to clipboard
Functions
Properties
Functions
attach
Link copied to clipboard
common
@
JvmOverloads
()
fun
attach
(texture:
GlTexture
, attachment:
Int
= GL_COLOR_ATTACHMENT0.toInt())
Content copied to clipboard
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
id
Link copied to clipboard
common
val
id
:
Int
Content copied to clipboard