UNPKG

typegpu

Version:

A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.

13 lines (12 loc) 925 B
import type { AnyFloat32VecInstance } from '../data/wgslTypes.ts'; type DerivativeSignature = ((value: number) => number) & (<T extends AnyFloat32VecInstance>(value: T) => T); export declare const dpdx: import("../types.ts").DualFn<DerivativeSignature>; export declare const dpdxCoarse: import("../types.ts").DualFn<DerivativeSignature>; export declare const dpdxFine: import("../types.ts").DualFn<DerivativeSignature>; export declare const dpdy: import("../types.ts").DualFn<DerivativeSignature>; export declare const dpdyCoarse: import("../types.ts").DualFn<DerivativeSignature>; export declare const dpdyFine: import("../types.ts").DualFn<DerivativeSignature>; export declare const fwidth: import("../types.ts").DualFn<DerivativeSignature>; export declare const fwidthCoarse: import("../types.ts").DualFn<DerivativeSignature>; export declare const fwidthFine: import("../types.ts").DualFn<DerivativeSignature>; export {};