I have a collection of objects, which are meshes generated using Three.js, that I need to perform operations on within a web worker. My question is, how can I send these objects to the worker?
My understanding is that there's a concept called transferable objects that involve the use of ArrayBuffer
, but I'm struggling to find information on how to convert my object array to this format. Is it even possible to do so?