Buffer

interface Buffer : GlimpseDisposable

A wrapper for a vertex data buffer.

Types

Link copied to clipboard
interface Factory

A factory for vertex data buffers.

Functions

Link copied to clipboard
abstract fun dispose(gl: GlimpseAdapter)

Disposes this object and its resources using given OpenGL adapter.

Link copied to clipboard
abstract fun use(gl: GlimpseAdapter)

Tells the given OpenGL adapter to use this buffer.

Properties

Link copied to clipboard
abstract val handle: Int

Buffer handle.

Link copied to clipboard
abstract val isDisposed: Boolean

true if this object has been disposed.

Link copied to clipboard
abstract val type: BufferType

Type of the buffer.