OESVertexArrayObject constructor

OESVertexArrayObject({
  1. num? vertexArrayBindingOes,
  2. void bindVertexArrayOES([
    1. WebGLVertexArrayObjectOES?
    ])?,
  3. WebGLVertexArrayObjectOES? createVertexArrayOES()?,
  4. void deleteVertexArrayOES([
    1. WebGLVertexArrayObjectOES?
    ])?,
  5. bool isVertexArrayOES([
    1. WebGLVertexArrayObjectOES?
    ])?,
})

Implementation

factory OESVertexArrayObject({
  _i2.num? vertexArrayBindingOes,
  void Function([_i3.WebGLVertexArrayObjectOES?])? bindVertexArrayOES,
  _i3.WebGLVertexArrayObjectOES? Function()? createVertexArrayOES,
  void Function([_i3.WebGLVertexArrayObjectOES?])? deleteVertexArrayOES,
  _i2.bool Function([_i3.WebGLVertexArrayObjectOES?])? isVertexArrayOES,
}) =>
    OESVertexArrayObject._(
      vertexArrayBindingOes: vertexArrayBindingOes,
      bindVertexArrayOES: bindVertexArrayOES == null
          ? null
          : _i4.allowInterop(bindVertexArrayOES),
      createVertexArrayOES: createVertexArrayOES == null
          ? null
          : _i4.allowInterop(
              () => () => createVertexArrayOES() ?? _i6.undefined),
      deleteVertexArrayOES: deleteVertexArrayOES == null
          ? null
          : _i4.allowInterop(deleteVertexArrayOES),
      isVertexArrayOES: isVertexArrayOES == null
          ? null
          : _i4.allowInterop(isVertexArrayOES),
    );