class GlFramebuffer : GlBindable
<init> |
GlFramebuffer(id: Int? = null) |
id |
val id: Int |
attach |
fun attach(texture: GlTexture, attachment: Int = GL_COLOR_ATTACHMENT0.toInt()): Unit |
bind |
fun bind(): Unit |
release |
fun release(): Unit |
unbind |
fun unbind(): Unit |
use |
fun GlBindable.use(block: () -> Unit): Unit |