@types/three
Version:
TypeScript definitions for three
18 lines (15 loc) • 372 B
TypeScript
import { IUniform } from "three";
export const ConvolutionShader: {
defines: {
KERNEL_SIZE_FLOAT: string;
KERNEL_SIZE_INT: string;
};
uniforms: {
tDiffuse: IUniform;
uImageIncrement: IUniform;
cKernel: IUniform;
};
vertexShader: string;
fragmentShader: string;
buildKernel(sigma: number): number[];
};