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

// Copyright 2022 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/WEBGL_provoking_vertex/

[
    LegacyNoInterfaceObject
] interface WebGLProvokingVertex {
    const unsigned long FIRST_VERTEX_CONVENTION_WEBGL = 0x8E4D;
    const unsigned long LAST_VERTEX_CONVENTION_WEBGL  = 0x8E4E;
    const unsigned long PROVOKING_VERTEX_WEBGL        = 0x8E4F;

    void provokingVertexWEBGL(GLenum provokeMode);
};