Support fetching viewport info

This commit is contained in:
Manish Goregaokar 2018-12-21 14:26:11 -08:00
parent e259ff727e
commit 7e043a33f1
9 changed files with 125 additions and 6 deletions

View file

@ -10,6 +10,8 @@ enum XREnvironmentBlendMode {
"alpha-blend",
};
callback XRFrameRequestCallback = void (DOMHighResTimeStamp time, XRFrame frame);
[SecureContext, Exposed=Window] interface XRSession : EventTarget {
// // Attributes
readonly attribute XRSessionMode mode;