openrndr / org.openrndr.internal.gl3 / IndexBufferGL3

IndexBufferGL3

class IndexBufferGL3 : IndexBuffer

Constructors

<init>

IndexBufferGL3(buffer: Int, indexCount: Int, type: IndexType)

Properties

buffer

val buffer: Int

indexCount

val indexCount: Int

type

val type: IndexType

Functions

bind

fun bind(): Unit

destroy

fun destroy(): Unit

read

fun read(data: ByteBuffer, offset: Int): Unit

unbind

fun unbind(): Unit

write

fun write(data: ByteBuffer, offset: Int): Unit

Companion Object Functions

create

fun create(elementCount: Int, type: IndexType): IndexBufferGL3