@types/three
Version:
TypeScript definitions for three
22 lines (20 loc) • 463 B
TypeScript
import { IUniform } from "three";
export const BokehShader: {
name: string;
defines: {
DEPTH_PACKING: number;
PERSPECTIVE_CAMERA: number;
};
uniforms: {
tColor: IUniform;
tDepth: IUniform;
focus: IUniform;
aspect: IUniform;
aperture: IUniform;
maxblur: IUniform;
nearClip: IUniform;
farClip: IUniform;
};
vertexShader: string;
fragmentShader: string;
};