|
@@ -428,6 +428,9 @@
|
|
|
Renders an instance of [page:ImmediateRenderObject]. Gets called by renderObjectImmediate().
|
|
|
</p>
|
|
|
|
|
|
+ <h3>[method:null resetState]()</h3>
|
|
|
+ <p>Can be used to reset the internal WebGL state. This method is mostly relevant for applications which share a single WebGL context across multiple WebGL libraries.</p>
|
|
|
+
|
|
|
<h3>[method:null setAnimationLoop]( [param:Function callback] )</h3>
|
|
|
<p>[page:Function callback] — The function will be called every available frame. If `null` is passed it will stop any already ongoing animation.</p>
|
|
|
<p>A built in function that can be used instead of [link:https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame requestAnimationFrame]. For WebXR projects this function must be used.</p>
|