MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / assertNotDisposed

Function assertNotDisposed

src/renderers/createAnnotationMarkerRenderer.ts:144–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 2

prepareFunction · 0.70
renderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected