openrndr / org.openrndr.internal / VertexBufferDrawer

VertexBufferDrawer

class VertexBufferDrawer

Constructors

<init>

VertexBufferDrawer()

Functions

drawVertexBuffer

fun drawVertexBuffer(drawContext: DrawContext, drawStyle: DrawStyle, primitive: DrawPrimitive, vertexBuffers: List<VertexBuffer>, offset: Int, vertexCount: Int): Unit
fun drawVertexBuffer(drawContext: DrawContext, drawStyle: DrawStyle, primitive: DrawPrimitive, indexBuffer: IndexBuffer, vertexBuffers: List<VertexBuffer>, offset: Int, indexCount: Int): Unit

drawVertexBufferInstances

fun drawVertexBufferInstances(drawContext: DrawContext, drawStyle: DrawStyle, primitive: DrawPrimitive, vertexBuffers: List<VertexBuffer>, instanceAttributes: List<VertexBuffer>, offset: Int, vertexCount: Int, instanceCount: Int): Unit
fun drawVertexBufferInstances(drawContext: DrawContext, drawStyle: DrawStyle, primitive: DrawPrimitive, indexBuffer: IndexBuffer, vertexBuffers: List<VertexBuffer>, instanceAttributes: List<VertexBuffer>, offset: Int, indexCount: Int, instanceCount: Int): Unit