Skip to content

Commit

Permalink
Add initRenderTarget docs (#28308)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed May 7, 2024
1 parent 65feb79 commit 64b0a7c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/api/en/renderers/WebGLRenderer.html
Expand Up @@ -493,6 +493,13 @@ <h3>[method:undefined initTexture]( [param:Texture texture] )</h3>
and GPU upload overhead).
</p>

<h3>[method:undefined initRenderTarget]( [param:WebGLRenderTarget target] )</h3>
<p>
Initializes the given WebGLRenderTarget memory. Useful for initializing a render
target so data can be copied into it using [page:WebGLRenderer.copyTextureToTexture .copyTextureToTexture]
before it has been rendered to.
</p>

<h3>[method:undefined resetGLState]( )</h3>
<p>
Reset the GL state to default. Called internally if the WebGL context is
Expand Down

0 comments on commit 64b0a7c

Please sign in to comment.