Skip to content

Commit 4a84d64

Browse files
aardgoosemrdoob
authored andcommitted
document behaviour when render target omitted (mrdoob#8988)
1 parent 84e6749 commit 4a84d64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/renderers/WebGLRenderer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,10 @@ <h3>[method:null setTexture]( [page:Texture texture], [page:number slot] )</h3>
263263

264264
<h3>[method:null setRenderTarget]( [page:WebGLRenderTarget renderTarget] )</h3>
265265
<div>
266-
renderTarget -- The [page:WebGLRenderTarget renderTarget] that needs to be activated.<br />
266+
renderTarget -- The [page:WebGLRenderTarget renderTarget] that needs to be activated (optional).<br />
267267
</div>
268268
<div>
269-
This method sets the active rendertarget.
269+
This method sets the active rendertarget. If the parameter is omitted the canvas is set as the active rendertarget.
270270
</div>
271271

272272
<h3>[method:boolean supportsCompressedTextureS3TC]()</h3>

0 commit comments

Comments
 (0)