Documentation

WebVR

Welcome to the WebVR Guide.

At the high level, WebVR is a browser API used to interface with VR headsets. This is typically done in two phases:

  • Setup. The application detects the headset, described by the VRDevice object, and targets it for presentation.
  • Per-Frame Rendering. Once setup is complete, a requestAnimationFrame handler is used to query pose data, render the WebGL scene for each eye, and submit it to the headset. Working with WebVR directly requires knowledge of JavaScript and WebGL.

Though WebVR is an evolving API, a configuration of the API has crystallized that most major browser vendors believe can reach general availability in mid-2017.

The Carmel Developer Preview targets this configuration. All of our samples and documentation explain how to use this version of the API and also where we diverge from it and why.

Loading…