()
| 244 | let cpuHollowStagingF32 = new Float32Array(cpuHollowStagingBuffer); |
| 245 | |
| 246 | const assertNotDisposed = (): void => { |
| 247 | if (disposed) throw new Error('CandlestickRenderer is disposed.'); |
| 248 | }; |
| 249 | |
| 250 | const ensureCpuInstanceCapacityFloats = (requiredFloats: number): void => { |
| 251 | if (requiredFloats <= cpuInstanceStagingF32.length) return; |