LatticeSpace.setDataBuffer¶
Summary¶
LatticeSpace.setDataBuffer() replaces cell data with an external GPU storage buffer.
Syntax¶
Notes¶
The buffer must hold at least cellCount * componentCount * 4 bytes. It is borrowed unless ownBuffer: true; CPU and WebAssembly data references are cleared.