openrndr / org.openrndr.draw / CircleBatch

CircleBatch

class CircleBatch (source)

Stored circle batch

Constructors

<init>

Stored circle batch

CircleBatch(geometry: VertexBuffer, drawStyle: VertexBuffer)

Properties

drawStyle

val drawStyle: VertexBuffer

geometry

val geometry: VertexBuffer

size

val size: Int

Functions

destroy

Destroy the stored batch

fun destroy(): Unit

Companion Object Functions

create

fun create(size: Int, session: Session? = Session.active): CircleBatch