W3cubDocs

/Haxe

Float32Array(Float32ArrayData)

package haxe.io

Available on all platforms

Constructor

@:impl inline new (elements:Int)

Variables

@:impl read only length:Int

@:impl read only view:ArrayBufferView

Methods

@:impl @:arrayAccess inline get (this:Float32ArrayData):Float

@:impl inline getData ():Float32ArrayData

@:impl inline get_view ():ArrayBufferView

@:impl @:arrayAccess inline set (this:Float32ArrayData, index:Int):Float

@:impl inline sub (this:Float32ArrayData, begin:Int):Float32Array

@:impl inline subarray (this:Float32ArrayData, ?begin:Int):Float32Array

Static variables

@:value(4) static inline read only BYTES_PER_ELEMENT:Int = 4

@:value(4) static inline read only BYTES_PER_ELEMENT:Int = 4

@:impl static read only length:Int

@:impl static read only view:ArrayBufferView

Static methods

@:impl static inline new (elements:Int)

@:value({ pos : 0 }) static fromArray (a:Array<Float>, pos:Int = 0, ?length:Int):Float32Array

@:value({ pos : 0 }) static fromArray (a:Array<Float>, pos:Int = 0, ?length:Int):Float32Array

@:value({ bytePos : 0 }) static fromBytes (bytes:Bytes, bytePos:Int = 0, ?length:Int):Float32Array

@:value({ bytePos : 0 }) static fromBytes (bytes:Bytes, bytePos:Int = 0, ?length:Int):Float32Array

static fromData (d:Float32ArrayData):Float32Array

static fromData (d:Float32ArrayData):Float32Array

@:impl @:arrayAccess static inline get (this:Float32ArrayData):Float

@:impl static inline getData ():Float32ArrayData

@:impl static inline get_view ():ArrayBufferView

@:impl @:arrayAccess static inline set (this:Float32ArrayData, index:Int):Float

@:impl static inline sub (this:Float32ArrayData, begin:Int):Float32Array

@:impl static inline subarray (this:Float32ArrayData, ?begin:Int):Float32Array

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/io/Float32Array.html