mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Support for webxr layer management
This commit is contained in:
parent
af110ac21f
commit
349619ed2d
34 changed files with 949 additions and 642 deletions
|
@ -5,7 +5,9 @@
|
|||
// https://immersive-web.github.io/layers/#xrwebglsubimagetype
|
||||
[SecureContext, Exposed=Window, Pref="dom.webxr.layers.enabled"]
|
||||
interface XRWebGLSubImage : XRSubImage {
|
||||
readonly attribute WebGLTexture colorTexture;
|
||||
readonly attribute WebGLTexture? depthStencilTexture;
|
||||
[SameObject] readonly attribute WebGLTexture colorTexture;
|
||||
[SameObject] readonly attribute WebGLTexture? depthStencilTexture;
|
||||
readonly attribute unsigned long? imageIndex;
|
||||
readonly attribute unsigned long textureWidth;
|
||||
readonly attribute unsigned long textureHeight;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue