forked from three-types/three-ts-types
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change (WebGLMultisampleRenderTarget): make it deprecated
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
17 changes: 5 additions & 12 deletions
17
types/three/src/renderers/WebGLMultisampleRenderTarget.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
import { WebGLRenderTarget, WebGLRenderTargetOptions } from './WebGLRenderTarget'; | ||
import { WebGLRenderTarget } from './WebGLRenderTarget'; | ||
|
||
export class WebGLMultisampleRenderTarget extends WebGLRenderTarget { | ||
constructor(width: number, height: number, options?: WebGLRenderTargetOptions); | ||
|
||
readonly isWebGLMultisampleRenderTarget: true; | ||
|
||
/** | ||
* Specifies the number of samples to be used for the renderbuffer storage.However, the maximum supported size for multisampling is platform dependent and defined via gl.MAX_SAMPLES. | ||
* @default 4 | ||
*/ | ||
samples: number; | ||
} | ||
/** | ||
* @deprecated THREE.WebGLMultisampleRenderTarget has been removed. Use a normal {@link WebGLRenderTarget render target} and set the "samples" property to greater 0 to enable multisampling. | ||
*/ | ||
export class WebGLMultisampleRenderTarget extends WebGLRenderTarget {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters