ANGLEInstancedArrays constructor

ANGLEInstancedArrays({
  1. num? vertexAttribArrayDivisorAngle,
  2. void drawArraysInstancedANGLE(
    1. num,
    2. num,
    3. num,
    4. num,
    )?,
  3. void drawElementsInstancedANGLE(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num,
    )?,
  4. void vertexAttribDivisorANGLE(
    1. num,
    2. num
    )?,
})

Implementation

factory ANGLEInstancedArrays({
  _i2.num? vertexAttribArrayDivisorAngle,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? drawArraysInstancedANGLE,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
  )? drawElementsInstancedANGLE,
  void Function(
    _i2.num,
    _i2.num,
  )? vertexAttribDivisorANGLE,
}) =>
    ANGLEInstancedArrays._(
      vertexAttribArrayDivisorAngle: vertexAttribArrayDivisorAngle,
      drawArraysInstancedANGLE: drawArraysInstancedANGLE == null
          ? null
          : _i4.allowInterop(drawArraysInstancedANGLE),
      drawElementsInstancedANGLE: drawElementsInstancedANGLE == null
          ? null
          : _i4.allowInterop(drawElementsInstancedANGLE),
      vertexAttribDivisorANGLE: vertexAttribDivisorANGLE == null
          ? null
          : _i4.allowInterop(vertexAttribDivisorANGLE),
    );