blob: b004ba1a70ad9940d8a363dcd43762f7ebbab411 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// 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/
[
NoInterfaceObject,
DoNotCheckConstants
]
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);
};