Skip to content

Commit

Permalink
RenderPass: Make clear color and alpha independent. (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Aug 28, 2023
1 parent 44cc143 commit c21d70f
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions types/three/examples/jsm/postprocessing/RenderPass.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
import { Scene, Camera, Material, Color } from '../../../src/Three.js';

import { Pass, FullScreenQuad } from './Pass.js';
import { Pass } from './Pass.js';

export class RenderPass extends Pass {
constructor(scene: Scene, camera: Camera, overrideMaterial?: Material, clearColor?: Color, clearAlpha?: number);
constructor(
scene: Scene,
camera: Camera,
overrideMaterial?: Material | null,
clearColor?: Color | null,
clearAlpha?: number | null,
);

scene: Scene;
camera: Camera;
overrideMaterial: Material;
clearColor: Color;
clearAlpha: number;

overrideMaterial: Material | null;

clearColor: Color | null;
clearAlpha: number | null;

clearDepth: boolean;
}

0 comments on commit c21d70f

Please sign in to comment.