@thi.ng/pixel
Version:
Typedarray integer & float pixel buffers w/ customizable formats, blitting, drawing, convolution
6 lines • 390 B
TypeScript
import type { Filter, FloatSampler, IntSampler, Wrap } from "./api.js";
import type { FloatBuffer } from "./float.js";
import type { IntBuffer } from "./int.js";
export declare function defSampler(src: FloatBuffer, filter?: Filter, wrap?: Wrap): FloatSampler;
export declare function defSampler(src: IntBuffer, filter?: Filter, wrap?: Wrap): IntSampler;
//# sourceMappingURL=sample.d.ts.map