WEBGLMultiDraw constructor

WEBGLMultiDraw({
  1. void multiDrawArraysInstancedWEBGL(
    1. num,
    2. Object,
    3. num,
    4. Object,
    5. num,
    6. Object,
    7. num,
    8. num,
    )?,
  2. void multiDrawArraysWEBGL(
    1. num,
    2. Object,
    3. num,
    4. Object,
    5. num,
    6. num,
    )?,
  3. void multiDrawElementsInstancedWEBGL(
    1. num,
    2. Object,
    3. num,
    4. num,
    5. Object,
    6. num,
    7. Object,
    8. num,
    9. num,
    )?,
  4. void multiDrawElementsWEBGL(
    1. num,
    2. Object,
    3. num,
    4. num,
    5. Object,
    6. num,
    7. num,
    )?,
})

Implementation

factory WEBGLMultiDraw({
  void Function(
    _i2.num,
    _i2.Object,
    _i2.num,
    _i2.Object,
    _i2.num,
    _i2.Object,
    _i2.num,
    _i2.num,
  )? multiDrawArraysInstancedWEBGL,
  void Function(
    _i2.num,
    _i2.Object,
    _i2.num,
    _i2.Object,
    _i2.num,
    _i2.num,
  )? multiDrawArraysWEBGL,
  void Function(
    _i2.num,
    _i2.Object,
    _i2.num,
    _i2.num,
    _i2.Object,
    _i2.num,
    _i2.Object,
    _i2.num,
    _i2.num,
  )? multiDrawElementsInstancedWEBGL,
  void Function(
    _i2.num,
    _i2.Object,
    _i2.num,
    _i2.num,
    _i2.Object,
    _i2.num,
    _i2.num,
  )? multiDrawElementsWEBGL,
}) =>
    WEBGLMultiDraw._(
      multiDrawArraysInstancedWEBGL: multiDrawArraysInstancedWEBGL == null
          ? null
          : _i4.allowInterop(multiDrawArraysInstancedWEBGL),
      multiDrawArraysWEBGL: multiDrawArraysWEBGL == null
          ? null
          : _i4.allowInterop(multiDrawArraysWEBGL),
      multiDrawElementsInstancedWEBGL: multiDrawElementsInstancedWEBGL == null
          ? null
          : _i4.allowInterop(multiDrawElementsInstancedWEBGL),
      multiDrawElementsWEBGL: multiDrawElementsWEBGL == null
          ? null
          : _i4.allowInterop(multiDrawElementsWEBGL),
    );