Factory

interface Factory

A factory for vertex data buffers.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun createArrayBuffers(vararg buffersData: DoubleBufferData): List<Buffer>
abstract fun createArrayBuffers(vararg buffersData: FloatBufferData): List<Buffer>

Creates new buffers of vertex attributes, defined by given buffersData.

Link copied to clipboard
abstract fun createElementArrayBuffers(vararg buffersData: IntBufferData): List<Buffer>

Creates new buffers of vertex array indices, defined by given buffersData.