openrndr / org.openrndr.internal.gl3 / VertexBufferGL3

VertexBufferGL3

class VertexBufferGL3 : VertexBuffer

Constructors

<init>

VertexBufferGL3(buffer: Int, vertexFormat: VertexFormat, vertexCount: Int)

Properties

buffer

val buffer: Int

shadow

val shadow: VertexBufferShadow

vertexCount

val vertexCount: Int

vertexFormat

val vertexFormat: VertexFormat

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

Inherited Functions

put

open fun put(putter: BufferWriter.() -> Unit): Int

Companion Object Functions

createDynamic

fun createDynamic(vertexFormat: VertexFormat, vertexCount: Int): VertexBufferGL3