MCPcopy Index your code
hub / github.com/gpujs/gpu.js / translateSource

Method translateSource

src/backend/web-gl2/kernel.js:223–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221 }
222
223 translateSource() {
224 const functionBuilder = FunctionBuilder.fromKernel(this, WebGL2FunctionNode, {
225 fixIntegerDivisionAccuracy: this.fixIntegerDivisionAccuracy
226 });
227 this.translatedSource = functionBuilder.getPrototypeString('kernel');
228 this.setupReturnTypes(functionBuilder);
229 }
230
231 drawBuffers() {
232 this.context.drawBuffers(this.drawBuffersMap);

Callers

nothing calls this directly

Calls 3

fromKernelMethod · 0.80
getPrototypeStringMethod · 0.80
setupReturnTypesMethod · 0.80

Tested by

no test coverage detected