glBufferData

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

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


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

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


actual fun glBufferData(type: BufferType, data: DoubleBufferData, usage: BufferUsage)

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

Since

v2.0.0

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

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


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

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


expect fun glBufferData(type: BufferType, data: DoubleBufferData, usage: BufferUsage)

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

Since

v2.0.0

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

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


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

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


actual fun glBufferData(type: BufferType, data: DoubleBufferData, usage: BufferUsage)

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

Since

v2.0.0