Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions webxrlayers-1.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1031,11 +1031,11 @@ The {{XRWebGLBinding}} object is used to create layers that have a GPU backend.

readonly attribute double nativeProjectionScaleFactor;

XRProjectionLayer createProjectionLayer(optional XRProjectionLayerInit init);
XRQuadLayer createQuadLayer(optional XRQuadLayerInit init);
XRCylinderLayer createCylinderLayer(optional XRCylinderLayerInit init);
XREquirectLayer createEquirectLayer(optional XREquirectLayerInit init);
XRCubeLayer createCubeLayer(optional XRCubeLayerInit init);
XRProjectionLayer createProjectionLayer(optional XRProjectionLayerInit init = {});
XRQuadLayer createQuadLayer(optional XRQuadLayerInit init = {});
XRCylinderLayer createCylinderLayer(optional XRCylinderLayerInit init = {});
XREquirectLayer createEquirectLayer(optional XREquirectLayerInit init = {});
XRCubeLayer createCubeLayer(optional XRCubeLayerInit init = {});

XRWebGLSubImage getSubImage(XRCompositionLayer layer, XRFrame frame, optional XREye eye = "none");
XRWebGLSubImage getViewSubImage(XRProjectionLayer layer, XRView view);
Expand Down Expand Up @@ -1689,9 +1689,9 @@ The {{XRMediaBinding}} object is used to create layers that display the content
[Exposed=Window] interface XRMediaBinding {
constructor(XRSession session);

XRQuadLayer createQuadLayer(HTMLVideoElement video, optional XRMediaQuadLayerInit init);
XRCylinderLayer createCylinderLayer(HTMLVideoElement video, optional XRMediaCylinderLayerInit init);
XREquirectLayer createEquirectLayer(HTMLVideoElement video, optional XRMediaEquirectLayerInit init);
XRQuadLayer createQuadLayer(HTMLVideoElement video, optional XRMediaQuadLayerInit init = {});
XRCylinderLayer createCylinderLayer(HTMLVideoElement video, optional XRMediaCylinderLayerInit init = {});
XREquirectLayer createEquirectLayer(HTMLVideoElement video, optional XRMediaEquirectLayerInit init = {});
};
</pre>

Expand Down