Buffer

interface Buffer

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)

Tells the given OpenGL adapter to dispose this buffer.

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 type: BufferType

Type of the buffer.