mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Allow VR RAF loop to handle changes in the layer, support pending renderstates
This commit is contained in:
parent
401b470e90
commit
e20909cf43
4 changed files with 170 additions and 44 deletions
|
@ -5,9 +5,9 @@
|
|||
// https://immersive-web.github.io/webxr/#xrrenderstate-interface
|
||||
|
||||
dictionary XRRenderStateInit {
|
||||
double depthNear = 0.1;
|
||||
double depthFar = 1000.0;
|
||||
XRLayer? baseLayer = null;
|
||||
double depthNear;
|
||||
double depthFar;
|
||||
XRLayer baseLayer;
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window] interface XRRenderState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue