MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / makeBuffer

Function makeBuffer

src/splat/webgpu/gaussianRenderer.test.ts:48–55  ·  view source on GitHub ↗
(label: string, size = 16, usage = 0)

Source from the content-addressed store, hash-verified

46};
47
48function makeBuffer(label: string, size = 16, usage = 0): FakeBuffer {
49 return {
50 label,
51 size,
52 usage,
53 destroy: vi.fn(),
54 } as unknown as FakeBuffer;
55}
56
57function makeTexture(label: string): FakeTexture {
58 return {

Callers 2

makeDeviceFunction · 0.85
makeSceneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected