Options
All
  • Public
  • Public/Protected
  • All
Menu

A class acting as a dynamic float32array used in the performance viewer

Hierarchy

  • DynamicFloat32Array

Index

Constructors

Accessors

Methods

Constructors

  • 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

  • get itemLength(): number
  • The number of items currently in the array.

    Returns number

Methods

  • at(index: number): number
  • 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.

  • push(item: number): void
  • Pushes items to the end of the array.

    Parameters

    • item: number

      The item to push into the array.

    Returns void

  • subarray(start: number, end: number): Float32Array
  • 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.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme