// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. enum XRDepthUsage { "cpu-optimized", "gpu-optimized" }; enum XRDepthDataFormat { "luminance-alpha", "float32", "unsigned-short", }; enum XRDepthType { "raw", "smooth" }; dictionary XRDepthStateInit { required sequence usagePreference; required sequence dataFormatPreference; sequence depthTypeRequest; boolean matchDepthView; };