mirror of
https://github.com/gpujs/gpu.js.git
synced 2026-01-18 16:04:10 +00:00
fix: Add typing
This commit is contained in:
parent
2c9bd8d6e1
commit
6c055ca554
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
@ -15,7 +15,7 @@ export class GPU {
|
||||
addNativeFunction(name: string, source: string): this;
|
||||
combineKernels(...kernels: Function[]): KernelFunction;
|
||||
createKernel(kernel: KernelFunction, settings?: IKernelSettings): IKernelRunShortcut;
|
||||
createKernelMap(subKernels: Object | Array<Function>, rootKernel: Function): IKernelRunShortcut;
|
||||
createKernelMap(subKernels: Object | Array<Function>, rootKernel: Function, settings?: IKernelSettings): IKernelRunShortcut;
|
||||
destroy(): void;
|
||||
Kernel: typeof Kernel;
|
||||
mode: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user