You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -775,7 +775,7 @@ When this method is invoked, the user agent MUST run the following steps:
775
775
1. Run [=update the pending layers state=] with |session| and |newState|.
776
776
1. Let |activeState| be |session|'s [=active render state=].
777
777
1. If |session|'s [=pending render state=] is `null`, set it to a copy of |activeState|.
778
-
1. If |newState|'s {{XRRenderStateInit/pasthroughFullyObscured}} value is set, set |session|'s [=pending render state=]'s {{XRRenderState/pasthroughFullyObscured}} to |newState|'s {{XRRenderStateInit/pasthroughFullyObscured}}.
778
+
1. If |newState|'s {{XRRenderStateInit/passthroughFullyObscured}} value is set, set |session|'s [=pending render state=]'s {{XRRenderState/passthroughFullyObscured}} to |newState|'s {{XRRenderStateInit/passthroughFullyObscured}}.
779
779
1. If |newState|'s {{XRRenderStateInit/depthNear}} value is set, set |session|'s [=pending render state=]'s {{XRRenderState/depthNear}} to |newState|'s {{XRRenderStateInit/depthNear}}.
780
780
1. If |newState|'s {{XRRenderStateInit/depthFar}} value is set, set |session|'s [=pending render state=]'s {{XRRenderState/depthFar}} to |newState|'s {{XRRenderStateInit/depthFar}}.
781
781
1. If |newState|'s {{XRRenderStateInit/inlineVerticalFieldOfView}} is set, set |session|'s [=pending render state=]'s {{XRRenderState/inlineVerticalFieldOfView}} to |newState|'s {{XRRenderStateInit/inlineVerticalFieldOfView}}.
@@ -998,7 +998,7 @@ An {{XRRenderState}} represents a set of configurable values which affect how an
@@ -1026,7 +1026,7 @@ When an {{XRRenderState}} object is created for an {{XRSession}} |session|, the
1026
1026
1. Let |state| be a [=new=]{{XRRenderState}} object in the [=relevant realm=] of |session|.
1027
1027
1. Initialize |state|'s {{XRRenderState/depthNear}} to `0.1`.
1028
1028
1. Initialize |state|'s {{XRRenderState/depthFar}} to `1000.0`.
1029
-
1. Initialize |state|'s {{XRRenderState/pasthroughFullyObscured}} to `false`.
1029
+
1. Initialize |state|'s {{XRRenderState/passthroughFullyObscured}} to `false`.
1030
1030
1. Initialize |state|'s {{XRRenderState/inlineVerticalFieldOfView}} as follows:
1031
1031
<dl class="switch">
1032
1032
: If |session| is an [=inline session=]:
@@ -1046,7 +1046,7 @@ The <dfn attribute for="XRRenderState">depthNear</dfn> attribute defines the dis
1046
1046
1047
1047
Note: Typically when constructing a perspective projection matrix for rendering the developer specifies the viewing frustum and the near and far clip planes. When displaying to an [=immersive XR device=] the correct viewing frustum is determined by some combination of the optics, displays, and cameras being used. The near and far clip planes, however, may be modified by the application since the appropriate values depend on the type of content being rendered.
1048
1048
1049
-
The <dfn attribute for="XRRenderState">pasthroughFullyObscured</dfn> attribute is a hint to the {{XRSystem}} from the author to indicate that they intend to completely cover the viewport with virtual content. The author SHOULD set this flag back to <code>false</code> once the viewport is no longer covered by opaque pixels.
1049
+
The <dfn attribute for="XRRenderState">passthroughFullyObscured</dfn> attribute is a hint to the {{XRSystem}} from the author to indicate that they intend to completely cover the viewport with virtual content. The author SHOULD set this flag back to <code>false</code> once the viewport is no longer covered by opaque pixels.
1050
1050
1051
1051
NOTE: the {{XRSystem}} MAY use this as a hint to temporarily disable passthrough. On devices with see-through optics, the user will continue to see their environment and this flag will have no effect.
0 commit comments