interface GlBindable
bind |
abstract fun bind(): Unit |
unbind |
abstract fun unbind(): Unit |
use |
fun GlBindable.use(block: () -> Unit): Unit |
GlBuffer |
open class GlBuffer : GlBindable |
GlFramebuffer |
class GlFramebuffer : GlBindable |
GlProgram |
Base class for a program that accepts a vertex and a fragment shader in the constructor. The program will be created automatically and released when release is called. open class GlProgram : GlBindable |
GlTexture |
class GlTexture : GlBindable |