mirror of
https://github.com/gpujs/gpu.js.git
synced 2026-01-25 16:08:02 +00:00
Merge pull request #439 from jcaru/develop
fix: Missing parameter typings
This commit is contained in:
commit
9fc5b5493e
4
src/index.d.ts
vendored
4
src/index.d.ts
vendored
@ -13,9 +13,9 @@ export class GPU {
|
||||
nativeFunctions: IGPUNativeFunction[];
|
||||
addFunction(kernel: KernelFunction, settings?: IGPUFunctionSettings): this;
|
||||
addNativeFunction(name: string, source: string): this;
|
||||
combineKernels(): KernelFunction;
|
||||
combineKernels(...kernels: Function[]): KernelFunction;
|
||||
createKernel(kernel: KernelFunction, settings?: IKernelSettings): IKernelRunShortcut;
|
||||
createKernelMap(): IKernelRunShortcut;
|
||||
createKernelMap(subKernels: Object | Array<Function>, rootKernel: Function): IKernelRunShortcut;
|
||||
destroy(): void;
|
||||
Kernel: typeof Kernel;
|
||||
mode: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user