Skip to content

Commit

Permalink
Fixed incorrect type specification in GPUComputationRenderer (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
ygr4789 authored Jun 29, 2023
1 parent b9e3d10 commit 1a75eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/three/examples/jsm/misc/GPUComputationRenderer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class GPUComputationRenderer {
magFilter: MagnificationTextureFilter,
): WebGLRenderTarget;
createTexture(): DataTexture;
renderTexture(input: Texture, output: Texture): void;
renderTexture(input: Texture, output: WebGLRenderTarget): void;
doRenderTarget(material: Material, output: WebGLRenderTarget): void;
dispose(): void;
}

0 comments on commit 1a75eb4

Please sign in to comment.