OVRMultiview2 constructor

OVRMultiview2({
  1. num? framebufferAttachmentTextureNumViewsOvr,
  2. num? framebufferAttachmentTextureBaseViewIndexOvr,
  3. num? maxViewsOvr,
  4. num? framebufferIncompleteViewTargetsOvr,
  5. void framebufferTextureMultiviewOVR(
    1. num,
    2. num,
    3. num,
    4. num,
    5. num, [
    6. WebGLTexture?,
    ])?,
})

Implementation

factory OVRMultiview2({
  _i2.num? framebufferAttachmentTextureNumViewsOvr,
  _i2.num? framebufferAttachmentTextureBaseViewIndexOvr,
  _i2.num? maxViewsOvr,
  _i2.num? framebufferIncompleteViewTargetsOvr,
  void Function(
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num,
    _i2.num, [
    _i3.WebGLTexture?,
  ])? framebufferTextureMultiviewOVR,
}) =>
    OVRMultiview2._(
      framebufferAttachmentTextureNumViewsOvr:
          framebufferAttachmentTextureNumViewsOvr,
      framebufferAttachmentTextureBaseViewIndexOvr:
          framebufferAttachmentTextureBaseViewIndexOvr,
      maxViewsOvr: maxViewsOvr,
      framebufferIncompleteViewTargetsOvr:
          framebufferIncompleteViewTargetsOvr,
      framebufferTextureMultiviewOVR: framebufferTextureMultiviewOVR == null
          ? null
          : _i4.allowInterop(framebufferTextureMultiviewOVR),
    );