WEBGLCompressedTextureEtc constructor

WEBGLCompressedTextureEtc({
  1. num? compressedR11Eac,
  2. num? compressedSignedR11Eac,
  3. num? compressedRg11Eac,
  4. num? compressedSignedRg11Eac,
  5. num? compressedRgb8Etc2,
  6. num? compressedSrgb8Etc2,
  7. num? compressedRgb8PunchthroughAlpha1Etc2,
  8. num? compressedSrgb8PunchthroughAlpha1Etc2,
  9. num? compressedRgba8Etc2Eac,
  10. num? compressedSrgb8Alpha8Etc2Eac,
})

Implementation

factory WEBGLCompressedTextureEtc({
  _i2.num? compressedR11Eac,
  _i2.num? compressedSignedR11Eac,
  _i2.num? compressedRg11Eac,
  _i2.num? compressedSignedRg11Eac,
  _i2.num? compressedRgb8Etc2,
  _i2.num? compressedSrgb8Etc2,
  _i2.num? compressedRgb8PunchthroughAlpha1Etc2,
  _i2.num? compressedSrgb8PunchthroughAlpha1Etc2,
  _i2.num? compressedRgba8Etc2Eac,
  _i2.num? compressedSrgb8Alpha8Etc2Eac,
}) =>
    WEBGLCompressedTextureEtc._(
      compressedR11Eac: compressedR11Eac,
      compressedSignedR11Eac: compressedSignedR11Eac,
      compressedRg11Eac: compressedRg11Eac,
      compressedSignedRg11Eac: compressedSignedRg11Eac,
      compressedRgb8Etc2: compressedRgb8Etc2,
      compressedSrgb8Etc2: compressedSrgb8Etc2,
      compressedRgb8PunchthroughAlpha1Etc2:
          compressedRgb8PunchthroughAlpha1Etc2,
      compressedSrgb8PunchthroughAlpha1Etc2:
          compressedSrgb8PunchthroughAlpha1Etc2,
      compressedRgba8Etc2Eac: compressedRgba8Etc2Eac,
      compressedSrgb8Alpha8Etc2Eac: compressedSrgb8Alpha8Etc2Eac,
    );