Float32Array

open external class Float32Array : ArrayBufferView

Exposes the JavaScript Float32Array to Kotlin

Constructors

Float32Array
Link copied to clipboard
fun Float32Array(length: Int)
Float32Array
Link copied to clipboard
fun Float32Array(array: Float32Array)
Float32Array
Link copied to clipboard
fun Float32Array(array: Array<Float>)
Float32Array
Link copied to clipboard
fun Float32Array(buffer: ArrayBuffer, byteOffset: Int = definedExternally, length: Int = definedExternally)

Types

Companion
Link copied to clipboard
object Companion

Functions

set
Link copied to clipboard
fun set(array: Array<Float>, offset: Int = definedExternally)
fun set(array: Float32Array, offset: Int = definedExternally)
subarray
Link copied to clipboard
fun subarray(start: Int, end: Int): Float32Array

Properties

buffer
Link copied to clipboard
open override val buffer: ArrayBuffer
byteLength
Link copied to clipboard
open override val byteLength: Int
byteOffset
Link copied to clipboard
open override val byteOffset: Int
length
Link copied to clipboard
open val length: Int

Extensions

get
Link copied to clipboard
inline operator fun Float32Array.get(index: Int): Float
set
Link copied to clipboard
inline operator fun Float32Array.set(index: Int, value: Float)