Skip to content

Commit

Permalink
FramebufferTexture: Remove format parameter. (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Jun 30, 2023
1 parent 8ea05a0 commit 1817c4f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions types/three/src/textures/FramebufferTexture.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Texture } from './Texture';
import { MagnificationTextureFilter, MinificationTextureFilter, PixelFormat } from '../constants';
import { MagnificationTextureFilter, MinificationTextureFilter } from '../constants';

/**
* This class can only be used in combination with {@link THREE.WebGLRenderer.copyFramebufferToTexture | WebGLRenderer.copyFramebufferToTexture()}.
Expand Down Expand Up @@ -32,9 +32,8 @@ export class FramebufferTexture extends Texture {
* Create a new instance of {@link FramebufferTexture}
* @param width The width of the texture.
* @param height The height of the texture.
* @param format See {@link Texture.format | .format}. Default {@link THREE.RGBAFormat}.
*/
constructor(width: number, height: number, format: PixelFormat);
constructor(width: number, height: number);

/**
* Read-only flag to check if a given object is of type {@link FramebufferTexture}.
Expand Down

0 comments on commit 1817c4f

Please sign in to comment.