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

Function createBitmap

src/hooks/frustumTextureCache.test.ts:154–161  ·  view source on GitHub ↗
(overrides: Partial<ImageBitmap> = {})

Source from the content-addressed store, hash-verified

152});
153
154function createBitmap(overrides: Partial<ImageBitmap> = {}): ImageBitmap {
155 return buildImageBitmap({
156 width: 64,
157 height: 32,
158 close: vi.fn(),
159 ...overrides,
160 });
161}
162
163function createTexture(): THREE.Texture {
164 const texture = new THREE.Texture(createBitmap());

Callers 4

createTextureFunction · 0.70
getOrLoadFrustumBitmapFunction · 0.70

Calls 1

buildImageBitmapFunction · 0.90

Tested by

no test coverage detected