MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / dispose

Function dispose

src/splat/webgpu/gaussianSceneResources.ts:158–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156 gaussianByteLength: packed.gaussianData.byteLength,
157 shByteLength: packed.shData?.byteLength ?? 0,
158 dispose() {
159 if (disposed) return;
160 disposed = true;
161 gaussianBuffer.destroy();
162 shBuffer.destroy();
163 releaseGaussianBufferCounter();
164 releaseShBufferCounter();
165 },
166 };
167}
168

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected