IndexBufferObject

class IndexBufferObject(val gl: GL, val isStatic: Boolean = true, var buffer: ShortBuffer) : Disposable

Constructors

Link copied to clipboard
fun IndexBufferObject(gl: GL, isStatic: Boolean = true, numIndices: Int)
Link copied to clipboard
fun IndexBufferObject(gl: GL, isStatic: Boolean = true, buffer: ShortBuffer)

Functions

Link copied to clipboard
fun bind()
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
fun setIndices(indices: ShortArray, srcOffset: Int = 0, count: Int = indices.size)
Link copied to clipboard
fun unbind()
Link copied to clipboard
fun updateVertices(destOffset: Int, indices: ShortArray, srcOffset: Int = 0, count: Int = indices.size)

Properties

Link copied to clipboard
Link copied to clipboard
val gl: GL
Link copied to clipboard
var grow: Boolean = false
Link copied to clipboard
var growFactor: Float = 2.0f
Link copied to clipboard
Link copied to clipboard
val isStatic: Boolean = true
Link copied to clipboard
Link copied to clipboard