From 1817c4f52e10503cceee836f5df4e0772380d923 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Thu, 29 Jun 2023 22:42:34 -0400 Subject: [PATCH] FramebufferTexture: Remove format parameter. (#487) --- types/three/src/textures/FramebufferTexture.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/types/three/src/textures/FramebufferTexture.d.ts b/types/three/src/textures/FramebufferTexture.d.ts index 90ad6b202..c603f8d15 100644 --- a/types/three/src/textures/FramebufferTexture.d.ts +++ b/types/three/src/textures/FramebufferTexture.d.ts @@ -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()}. @@ -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}.