mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Hook XRRenderState into XRSession
This commit is contained in:
parent
1dc7636135
commit
401b470e90
4 changed files with 12 additions and 41 deletions
|
@ -14,4 +14,4 @@ dictionary XRRenderStateInit {
|
|||
readonly attribute double depthNear;
|
||||
readonly attribute double depthFar;
|
||||
readonly attribute XRLayer? baseLayer;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -19,9 +19,7 @@ interface XRSession : EventTarget {
|
|||
// readonly attribute XRPresentationContext outputContext;
|
||||
readonly attribute XREnvironmentBlendMode environmentBlendMode;
|
||||
|
||||
attribute double depthNear;
|
||||
attribute double depthFar;
|
||||
attribute XRLayer? baseLayer;
|
||||
readonly attribute XRRenderState renderState;
|
||||
|
||||
// // Methods
|
||||
Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceOptions options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue