MCPcopy Create free account
hub / github.com/gpujs/gpu.js / onRequestIndex

Method onRequestIndex

src/backend/web-gl/kernel.js:373–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

371 return this.createTexture();
372 };
373 const onRequestIndex = () => {
374 return this.constantTextureCount + textureIndexes++;
375 };
376 const onUpdateValueMismatch = (constructor) => {
377 this.switchKernels({
378 type: 'argumentMismatch',

Callers 1

setupTextureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected