chromium/third_party/blink/renderer/modules/webgl/ovr_multiview_2.idl

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://www.khronos.org/registry/webgl/extensions/OVR_multiview2/

[
    LegacyNoInterfaceObject
]
interface OVRMultiview2 {
    const GLenum FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR = 0x9630;
    const GLenum FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR = 0x9632;
    const GLenum MAX_VIEWS_OVR = 0x9631;
    const GLenum FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR = 0x9633;

    void framebufferTextureMultiviewOVR(GLenum target, GLenum attachment,
                                          WebGLTexture? texture, GLint level,
                                          GLint baseViewIndex,
                                          GLsizei numViews);
};