openrndr / org.openrndr.draw / IndexBuffer

IndexBuffer

interface IndexBuffer

Properties

indexCount

abstract val indexCount: Int

type

abstract val type: IndexType

Functions

destroy

abstract fun destroy(): Unit

read

abstract fun read(data: ByteBuffer, offset: Int = 0): Unit

write

abstract fun write(data: ByteBuffer, offset: Int = 0): Unit

Companion Object Functions

createDynamic

fun createDynamic(elementCount: Int, type: IndexType): IndexBuffer

Inheritors

IndexBufferGL3

class IndexBufferGL3 : IndexBuffer