Buffer

interface Buffer

A wrapper for a vertex data buffer.

Types

Factory
Link copied to clipboard
interface Factory

A factory for vertex data buffers.

Functions

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

Tells the given OpenGL adapter to dispose this buffer.

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

Tells the given OpenGL adapter to use this buffer.

Properties

handle
Link copied to clipboard
abstract val handle: Int

Buffer handle.

type
Link copied to clipboard
abstract val type: BufferType

Type of the buffer.