MCPcopy
hub / github.com/gpujs/gpu.js / IKernelFunctionThis

Interface IKernelFunctionThis

src/index.d.ts:381–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381export interface IKernelFunctionThis<ConstantsT = {}> {
382 output: IKernelXYZ;
383 thread: IKernelXYZ;
384 constants: ConstantsT;
385 color(r: number): void,
386 color(r: number, g: number): void,
387 color(r: number, g: number, b: number): void,
388 color(r: number, g: number, b: number, a: number): void,
389}
390
391export type KernelVariable =
392 boolean

Callers 8

greenCanvasFunction · 0.65
test-utils.jsFile · 0.65
outputGraphicalMatrixFunction · 0.65
imageArgumentTestFunction · 0.65
getCanvasTestFunction · 0.65
imageArrayTestFunction · 0.65

Implementers 1

CPUKernelsrc/backend/cpu/kernel.js

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…