glBufferData

common
fun glBufferData(type: BufferType, data: IntBufferData, usage: BufferUsage)

Creates a buffer of integer values and fills it with data.

common
fun glBufferData(type: BufferType, data: FloatBufferData, usage: BufferUsage)

Creates a buffer of floating point values and fills it with data.