blob: badf2c06288d2653202fbd09e85ace363cbaf7aa [file] [log] [blame]
// Copyright (c) 2024, 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.
// Generated from Web IDL definitions.
import 'dart:js_interop';
import 'webgl1.dart';
@JS('WEBGL_multi_draw')
@staticInterop
class WEBGL_multi_draw {}
extension WEBGLMultiDrawExtension on WEBGL_multi_draw {
external void multiDrawArraysWEBGL(
GLenum mode,
JSObject firstsList,
int firstsOffset,
JSObject countsList,
int countsOffset,
GLsizei drawcount,
);
external void multiDrawElementsWEBGL(
GLenum mode,
JSObject countsList,
int countsOffset,
GLenum type,
JSObject offsetsList,
int offsetsOffset,
GLsizei drawcount,
);
external void multiDrawArraysInstancedWEBGL(
GLenum mode,
JSObject firstsList,
int firstsOffset,
JSObject countsList,
int countsOffset,
JSObject instanceCountsList,
int instanceCountsOffset,
GLsizei drawcount,
);
external void multiDrawElementsInstancedWEBGL(
GLenum mode,
JSObject countsList,
int countsOffset,
GLenum type,
JSObject offsetsList,
int offsetsOffset,
JSObject instanceCountsList,
int instanceCountsOffset,
GLsizei drawcount,
);
}