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

// 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.

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

[
    LegacyNoInterfaceObject
] interface OESDrawBuffersIndexed {
    void enableiOES(GLenum target, GLuint index);

    void disableiOES(GLenum target, GLuint index);

    void blendEquationiOES(GLuint buf, GLenum mode);

    void blendEquationSeparateiOES(GLuint buf,
                                    GLenum modeRGB, GLenum modeAlpha);

    void blendFunciOES(GLuint buf,
                        GLenum src, GLenum dst);

    void blendFuncSeparateiOES(GLuint buf,
                                GLenum srcRGB, GLenum dstRGB,
                                GLenum srcAlpha, GLenum dstAlpha);

    void colorMaskiOES(GLuint buf,
                        GLboolean r, GLboolean g, GLboolean b, GLboolean a);
};