// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
SecureContext,
Exposed=Window,
RuntimeEnabled=WebXRLayers
] interface XRGPUSubImage : XRSubImage {
[SameObject] readonly attribute GPUTexture colorTexture;
[SameObject] readonly attribute GPUTexture? depthStencilTexture;
[SameObject] readonly attribute GPUTexture? motionVectorTexture;
GPUTextureViewDescriptor getViewDescriptor();
};