This page is not complete.
When you apply changes using the
updateRenderState(), the specified changes take effect after the current animation frame has completed, but before the next one begins.
The followiing properties are available on
XRWebGLLayerfrom which the browser's compositing system obtains the image for the XR session.
- The distance, in meters, of the far clip plane from the viewer. The far clip plane is the plane which is parallel to the display beyond which rendering of the scene no longer takes place. This, essentially, specifies the maximum distance the user can see.
- The distance, in meters, of the near clip plane from the viewer. The near clip plane is the plane, parallel to the display, at which rendering of the scene begins. Any closer to the viewer than this, and no portions of the scene are drawn.
- The default vertical field of view, defined in radians, to use when the session is in
nullfor all immersive sessions.
|WebXR Device API
The definition of 'XRRenderState' in that specification.
|Working Draft||Initial definition.|
No compatibility data found. Please contribute data for "api.XRRenderState" (depth: 1) to the MDN compatibility data repository.