Class that encapsulates a single f32 value.

Hierarchy

  • F32Value

Constructors

Properties

Methods

Constructors

Properties

bits: number
type: ScalarType = Type.f32
value: number

Methods

  • Copies the scalar value to the buffer at the provided byte offset.

    Parameters

    • buffer: Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float16Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array

      the destination buffer

    • offset: number

      the offset in buffer, in units of buffer

    Returns void

Generated using TypeDoc