|
@@ -134,7 +134,7 @@
|
|
<div>
|
|
<div>
|
|
The renderer obtains a [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext RenderingContext] context
|
|
The renderer obtains a [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext RenderingContext] context
|
|
from its [page:WebGLRenderer.domElement domElement] by default, using
|
|
from its [page:WebGLRenderer.domElement domElement] by default, using
|
|
- [link:https://developer.mozilla.org/en/docs/Web/API/HTMLCanvasElement/getContext HTMLCanvasElement.getContext]().<br /><br />
|
|
|
|
|
|
+ [link:https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext HTMLCanvasElement.getContext]().<br /><br />
|
|
|
|
|
|
You can create this manually, however it must correspond to the
|
|
You can create this manually, however it must correspond to the
|
|
[page:WebGLRenderer.domElement domElement] in order to render to the screen.
|
|
[page:WebGLRenderer.domElement domElement] in order to render to the screen.
|
|
@@ -321,10 +321,10 @@
|
|
<div>Compiles all materials in the scene with the camera. This is useful to precompile shaders before the first rendering.</div>
|
|
<div>Compiles all materials in the scene with the camera. This is useful to precompile shaders before the first rendering.</div>
|
|
|
|
|
|
<h3>[method:null copyFramebufferToTexture]( [param:Vector2 position], [param:Texture texture], [param:Number level] )</h3>
|
|
<h3>[method:null copyFramebufferToTexture]( [param:Vector2 position], [param:Texture texture], [param:Number level] )</h3>
|
|
- <div>Copies pixels from the current WebGLFramebuffer into a 2D texture. Enables access to [link:https://developer.mozilla.org/de/docs/Web/API/WebGLRenderingContext/copyTexImage2D WebGLRenderingContext.copyTexImage2D].</div>
|
|
|
|
|
|
+ <div>Copies pixels from the current WebGLFramebuffer into a 2D texture. Enables access to [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/copyTexImage2D WebGLRenderingContext.copyTexImage2D].</div>
|
|
|
|
|
|
<h3>[method:null copyTextureToTexture]( [param:Vector2 position], [param:Texture srcTexture], [param:Texture dstTexture], [param:Number level] )</h3>
|
|
<h3>[method:null copyTextureToTexture]( [param:Vector2 position], [param:Texture srcTexture], [param:Texture dstTexture], [param:Number level] )</h3>
|
|
- <div>Copies all pixels of a texture to an existing texture starting from the given position. Enables access to [link:https://developer.mozilla.org/de/docs/Web/API/WebGLRenderingContext/texSubImage2D WebGLRenderingContext.texSubImage2D].</div>
|
|
|
|
|
|
+ <div>Copies all pixels of a texture to an existing texture starting from the given position. Enables access to [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D WebGLRenderingContext.texSubImage2D].</div>
|
|
|
|
|
|
<h3>[method:null dispose]( )</h3>
|
|
<h3>[method:null dispose]( )</h3>
|
|
<div>Dispose of the current rendering context.</div>
|
|
<div>Dispose of the current rendering context.</div>
|