float

inline fun float(size: Int, initializer: (Int) -> Float): FloatBuffer

Creates a FloatBuffer with the specified size, where each element is calculated by calling the specified initializer function.

Sources

Link copied to clipboard