Buffer

interface Buffer

A wrapper for a vertex data buffer.

Types

Factory
Link copied to clipboard
common
interface Factory
A factory for vertex data buffers.

Functions

dispose
Link copied to clipboard
common
abstract fun dispose(gl: GlimpseAdapter)
Tells the given OpenGL adapter to dispose this buffer.
use
Link copied to clipboard
common
abstract fun use(gl: GlimpseAdapter)
Tells the given OpenGL adapter to use this buffer.

Properties

handle
Link copied to clipboard
common
abstract val handle: Int
Buffer handle.
type
Link copied to clipboard
common
abstract val type: BufferType
Type of the buffer.