()
| 142 | let cpuInstanceStagingF32 = new Float32Array(cpuInstanceStagingBuffer); |
| 143 | |
| 144 | const assertNotDisposed = (): void => { |
| 145 | if (disposed) throw new Error('AnnotationMarkerRenderer is disposed.'); |
| 146 | }; |
| 147 | |
| 148 | const ensureCpuInstanceCapacityFloats = (requiredFloats: number): void => { |
| 149 | if (requiredFloats <= cpuInstanceStagingF32.length) return; |