提交 26b8e5b9 编写于 作者: F FMS-Cat

WebGLRenderer.d.ts: add docs comment to setRenderTarget method

上级 3e84744a
......@@ -342,6 +342,13 @@ export class WebGLRenderer implements Renderer {
*/
getCurrentRenderTarget(): RenderTarget | null;
/**
* Sets the active render target.
*
* @param renderTarget The {@link WebGLRenderTarget renderTarget} that needs to be activated. When `null` is given, the canvas is set as the active render target instead.
* @param activeCubeFace Specifies the active cube side (PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5) of {@link WebGLRenderTargetCube}.
* @param activeMipMapLevel Specifies the active mipmap level.
*/
setRenderTarget(renderTarget: RenderTarget | null, activeCubeFace?: number, activeMipMapLevel?: number): void;
readRenderTargetPixels(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册