blob: 9bc60164649658a8ec2e71d43ea3b51bdaac1626 [file] [log] [blame]
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// ignore_for_file: unused_import
import 'dart:js_interop';
import 'package:js/js.dart' hide JS;
import 'webgl1.dart';
@JS('WEBGL_draw_instanced_base_vertex_base_instance')
@staticInterop
class WEBGL_draw_instanced_base_vertex_base_instance {
external factory WEBGL_draw_instanced_base_vertex_base_instance();
}
extension WEBGLDrawInstancedBaseVertexBaseInstanceExtension
on WEBGL_draw_instanced_base_vertex_base_instance {
external JSVoid drawArraysInstancedBaseInstanceWEBGL(
GLenum mode,
GLint first,
GLsizei count,
GLsizei instanceCount,
GLuint baseInstance,
);
external JSVoid drawElementsInstancedBaseVertexBaseInstanceWEBGL(
GLenum mode,
GLsizei count,
GLenum type,
GLintptr offset,
GLsizei instanceCount,
GLint baseVertex,
GLuint baseInstance,
);
}