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

Method writeTexture

e2e/webgpu-psnr.spec.ts:63–63  ·  view source on GitHub ↗
(
    destination: { texture: BrowserGpuTexture },
    data: Uint8Array,
    dataLayout: { bytesPerRow: number; rowsPerImage: number },
    size: { width: number; height: number }
  )

Source from the content-addressed store, hash-verified

61
62interface BrowserGpuQueue {
63 writeTexture(
64 destination: { texture: BrowserGpuTexture },
65 data: Uint8Array,
66 dataLayout: { bytesPerRow: number; rowsPerImage: number },

Callers 3

uploadTextureFunction · 0.65
uploadTextureFunction · 0.65

Calls

no outgoing calls

Tested by 2

uploadTextureFunction · 0.52
uploadTextureFunction · 0.52