Class DynamicFloat32Array
Hierarchy
- DynamicFloat32Array
Index
Constructors
constructor
-
Creates a new DynamicFloat32Array with the desired item capacity.
Parameters
-
itemCapacity: number
The initial item capacity you would like to set for the array.
Returns DynamicFloat32Array
-
Accessors
item Length
-
The number of items currently in the array.
Returns number
Methods
atSearch playground for at
-
Gets value at index, NaN if no such index exists.
Parameters
-
index: number
the index to get the value at.
Returns number
the value at the index provided.
-
pushSearch playground for push
-
Pushes items to the end of the array.
Parameters
-
item: number
The item to push into the array.
Returns void
-
subarraySearch playground for subarray
-
Gets a view of the original array from start to end (exclusive of end).
Parameters
-
start: number
starting index.
-
end: number
ending index.
Returns Float32Array
a subarray of the original array.
-
A class acting as a dynamic float32array used in the performance viewer