library / com.otaliastudios.opengl.core / GlBindable

GlBindable

interface GlBindable

Functions

bind

abstract fun bind(): Unit

unbind

abstract fun unbind(): Unit

Extension Functions

use

fun GlBindable.use(block: () -> Unit): Unit

Inheritors

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