openrndr / org.openrndr.draw / VertexBufferShadow

VertexBufferShadow

interface VertexBufferShadow

Properties

vertexBuffer

abstract val vertexBuffer: VertexBuffer

Functions

destroy

abstract fun destroy(): Unit

download

abstract fun download(): Unit

upload

abstract fun upload(offset: Int = 0, size: Int = vertexBuffer.vertexCount * vertexBuffer.vertexFormat.size): Unit

uploadElements

open fun uploadElements(elementOffset: Int = 0, elementCount: Int = vertexBuffer.vertexCount): Unit

writer

abstract fun writer(): BufferWriter

Inheritors

VertexBufferShadowGL3

class VertexBufferShadowGL3 : VertexBufferShadow