WEBGLCompressedTextureEtc constructor
WEBGLCompressedTextureEtc({
- num? compressedR11Eac,
- num? compressedSignedR11Eac,
- num? compressedRg11Eac,
- num? compressedSignedRg11Eac,
- num? compressedRgb8Etc2,
- num? compressedSrgb8Etc2,
- num? compressedRgb8PunchthroughAlpha1Etc2,
- num? compressedSrgb8PunchthroughAlpha1Etc2,
- num? compressedRgba8Etc2Eac,
- 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,
);