Float32Buffer

Constructors

Link copied to clipboard
constructor(size: Int, direct: Boolean = false)
constructor(data: FloatArray, offset: Int = 0, size: Int = data.size - offset)
constructor(buffer: Buffer)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val buffer: Buffer
Link copied to clipboard
open override val elementSizeInBytes: Int
Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun get(index: Int): Float
Link copied to clipboard
fun getArray(index: Int = 0, size: Int = this.size - index): FloatArray
fun getArray(index: Int, out: FloatArray, offset: Int = 0, size: Int = out.size - offset): FloatArray
Link copied to clipboard
open operator override fun set(index: Int, value: Float)
Link copied to clipboard
fun setArray(index: Int, inp: FloatArray, offset: Int = 0, size: Int = inp.size - offset)
Link copied to clipboard
fun slice(start: Int = 0, end: Int = this.size): Float32Buffer
Link copied to clipboard
fun sliceWithSize(start: Int = 0, size: Int = this.size - start): Float32Buffer
Link copied to clipboard