Skip to content

Commit

Permalink
fix: updated RenderPixelatedPass types to match source file (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
akaecliptic authored Jul 5, 2023
1 parent 9ecea65 commit 1401fce
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/postprocessing/RenderPixelatedPass.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ export interface RenderPixelatedPassParameters {
}

export class RenderPixelatedPass extends Pass {
constructor(pixelSize: number, scene: Scene, camera: Camera, options?: RenderPixelatedPassParameters)
constructor(
resolution: Vector2,
pixelSize: number,
scene: Scene,
camera: Camera,
options?: RenderPixelatedPassParameters,
)
pixelSize: number
resolution: Vector2
renderResolution: Vector2
Expand All @@ -23,6 +29,6 @@ export class RenderPixelatedPass extends Pass {
normalEdgeStrength: RenderPixelatedPassParameters['normalEdgeStrength']
depthEdgeStrength: RenderPixelatedPassParameters['depthEdgeStrength']

beautyRenderTarget: WebGLRenderTarget
rgbRenderTarget: WebGLRenderTarget
normalRenderTarget: WebGLRenderTarget
}

0 comments on commit 1401fce

Please sign in to comment.