toFloatBuffer

fun FloatArray.toFloatBuffer(): FloatBuffer

Returns a direct primitive buffer containing all of the elements of this float array.

fun Array<out Float>.toFloatBuffer(): FloatBuffer

Returns a direct Float buffer containing all of the elements of this generic array.