Factory

interface Factory

A factory for vertex data buffers.

Types

Companion
Link copied to clipboard
common
object Companion

Functions

createArrayBuffers
Link copied to clipboard
common
abstract fun createArrayBuffers(vararg buffersData: FloatBufferData): List<Buffer>
Creates new buffers of vertex attributes, defined by given buffersData.
createElementArrayBuffers
Link copied to clipboard
common
abstract fun createElementArrayBuffers(vararg buffersData: IntBufferData): List<Buffer>
Creates new buffers of vertex array indices, defined by given buffersData.