Hook XRRenderState into XRSession

This commit is contained in:
Manish Goregaokar 2019-01-14 19:33:52 -08:00
parent 1dc7636135
commit 401b470e90
4 changed files with 12 additions and 41 deletions

View file

@ -14,4 +14,4 @@ dictionary XRRenderStateInit {
readonly attribute double depthNear;
readonly attribute double depthFar;
readonly attribute XRLayer? baseLayer;
};
};

View file

@ -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);