mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-14 05:50:20 +00:00
Add getRenderTarget; deprecate getCurrentRenderTarget() (#22654)
* Add `getRenderTarget`; deprecate `getCurrentRenderTarget()` * Update revision number; Update website; Add definition contributor Changed project website to the more common https://threejs.org
This commit is contained in:
committed by
Mohamed Hegazy
parent
018ef9fb6f
commit
8829824eae
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
// Type definitions for three.js 0.84
|
||||
// Project: http://mrdoob.github.com/three.js/
|
||||
// Definitions by: Kon <http://phyzkit.net/>, Satoru Kimura <https://github.com/gyohk>, Florent Poujol <https://github.com/florentpoujol>, SereznoKot <https://github.com/SereznoKot>, HouChunlei <https://github.com/omni360>, Ivo <https://github.com/ivoisbelongtous>, David Asmuth <https://github.com/piranha771>, Brandon Roberge, Qinsi ZHU <https://github.com/qszhusightp>, Toshiya Nakakura <https://github.com/nakakura>, Poul Kjeldager Sørensen <https://github.com/s093294>, Stefan Profanter <https://github.com/Pro>, Edmund Fokschaner <https://github.com/efokschaner>, Roelof Jooste <https://github.com/PsychoSTS>
|
||||
// Type definitions for three.js 0.89
|
||||
// Project: https://threejs.org
|
||||
// Definitions by: Kon <http://phyzkit.net/>, Satoru Kimura <https://github.com/gyohk>, Florent Poujol <https://github.com/florentpoujol>, SereznoKot <https://github.com/SereznoKot>, HouChunlei <https://github.com/omni360>, Ivo <https://github.com/ivoisbelongtous>, David Asmuth <https://github.com/piranha771>, Brandon Roberge, Qinsi ZHU <https://github.com/qszhusightp>, Toshiya Nakakura <https://github.com/nakakura>, Poul Kjeldager Sørensen <https://github.com/s093294>, Stefan Profanter <https://github.com/Pro>, Edmund Fokschaner <https://github.com/efokschaner>, Roelof Jooste <https://github.com/PsychoSTS>, Daniel Hritzkiv <https://github.com/dhritzkiv>
|
||||
// Definitions: https://github.com//DefinitelyTyped
|
||||
|
||||
export * from "./three-core";
|
||||
|
||||
Vendored
+4
@@ -5216,6 +5216,10 @@ export class WebGLRenderer implements Renderer {
|
||||
setTexture(texture: Texture, slot: number): void;
|
||||
setTexture2D(texture: Texture, slot: number): void;
|
||||
setTextureCube(texture: Texture, slot: number): void;
|
||||
getRenderTarget(): RenderTarget;
|
||||
/**
|
||||
* @deprecated Use getRenderTarget instead.
|
||||
*/
|
||||
getCurrentRenderTarget(): RenderTarget;
|
||||
setRenderTarget(renderTarget: RenderTarget): void;
|
||||
readRenderTargetPixels( renderTarget: RenderTarget, x: number, y: number, width: number, height: number, buffer: any ): void;
|
||||
|
||||
Reference in New Issue
Block a user