/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// Commands pending to be sent to the puppet device // once the VR service is started.
nsTArray<uint64_t> mPuppetPendingCommands;
RefPtr<VRService> mVRService; // mVRProcessEnabled indicates that a separate, VR Process, should be used. // This may be false if the VR process is disabled with the // dom.vr.process.enabled preference or when the GPU process is disabled. // mVRProcessEnabled will not change once the browser is started and does not // reflect the started / stopped state of the VR Process. bool mVRProcessEnabled; // mVRProcessStarted is true when the VR Process is running. bool mVRProcessStarted; // mVRServiceReadyInVRProcess is true when the VR Process is running and the // VRService in the VR Process is ready to accept commands. bool mVRServiceReadyInVRProcess; // mVRServiceRequested is true when the VRService is needed. This can be due // to Web API activity (WebXR, WebVR), browser activity (eg, VR Video // Playback), or a request to simulate a VR device with the VRServiceTest / // puppet API. mVRServiceRequested indicates the intended state of the VR // Service and is not an indication that the VR Service is ready to accept // requests or that the VR Process is enabled or running. Toggling the // mVRServiceRequested flag will result in the VR Service and/or the VR // Process either starting or stopping as needed. bool mVRServiceRequested;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.