raw-camera-access.idl (538B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: WebXR Raw Camera Access Module (https://immersive-web.github.io/raw-camera-access/) 5 6 partial interface XRView { 7 [SameObject] readonly attribute XRCamera? camera; 8 }; 9 10 [SecureContext, Exposed=Window] 11 interface XRCamera { 12 readonly attribute unsigned long width; 13 readonly attribute unsigned long height; 14 }; 15 16 partial interface XRWebGLBinding { 17 WebGLTexture? getCameraImage(XRCamera camera); 18 };