1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 10:19:24 +02:00
Oinktube/node_modules/three/examples/jsm/postprocessing/BokehPass.d.ts
2023-12-11 11:59:56 -03:00

34 lines
654 B
TypeScript

import {
Scene,
Camera,
ShaderMaterial,
WebGLRenderTarget,
MeshDepthMaterial,
Color
} from '../../../src/Three';
import { Pass } from './Pass';
export interface BokehPassParamters {
focus?: number;
aspect?: number;
aperture?: number;
maxblur?: number;
width?: number;
height?: number;
}
export class BokehPass extends Pass {
constructor( scene: Scene, camera: Camera, params: BokehPassParamters );
scene: Scene;
camera: Camera;
renderTargetColor: WebGLRenderTarget;
renderTargetDepth: WebGLRenderTarget;
materialDepth: MeshDepthMaterial;
materialBokeh: ShaderMaterial;
uniforms: object;
fsQuad: object;
oldClearColor: Color;
}