Readonly Internal_ReadonlydtypeTyped array constructor used when reading data back from the GPU.
ReadonlylengthNumber of elements in the vector.
Destroys the underlying GPU buffer. Call when the vector is no longer needed to free GPU memory — especially important in long-running programs.
StaticfromUploads a Float32Array to GPU memory.
input vector data
GpuVector backed by a GPU buffer
Represents a Float32Array stored in GPU memory.
See