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

common source
Link copied to clipboard