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

// Copyright 2019 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_draw_instanced_base_vertex_base_instance/

[LegacyNoInterfaceObject]
interface WebGLDrawInstancedBaseVertexBaseInstance {
  void drawArraysInstancedBaseInstanceWEBGL(
      GLenum mode,
      GLint first,
      GLsizei count,
      GLsizei instance_count,
      GLuint baseinstance);

  void drawElementsInstancedBaseVertexBaseInstanceWEBGL(
      GLenum mode,
      GLsizei count,
      GLenum type,
      GLsizei offset,
      GLsizei instance_count,
      GLint basevertex,
      GLuint baseinstance);
};