UNPKG

itk-wasm

Version:

High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.

14 lines (11 loc) 286 B
import Mesh from '../../interface-types/mesh.js' import TypedArray from '../../typed-array.js' function meshTransferables (mesh: Mesh): Array<TypedArray | null> { return [ mesh.points, mesh.pointData, mesh.cells, mesh.cellData ] } export default meshTransferables