Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration CompressedTextureStorageFormat

Texture compression format.

remarks

Descriptions pulled from MDN.

Index

Enumeration Members

rgbS3tcDxt1: 33776

A DXT1-compressed image in an RGB image format.

rgbaS3tcDxt1: 33777

A DXT1-compressed image in an RGB image format with a simple on/off alpha value.

rgbaS3tcDxt3: 33778

A DXT3-compressed image in an RGBA image format. Compared to a 32-bit RGBA texture, it offers 4:1 compression.

rgbaS3tcDxt5: 33779

A DXT5-compressed image in an RGBA image format. It also provides a 4:1 compression, but differs to the DXT3 compression in how the alpha compression is done.

srgbS3tcDxt1: 35916

A DXT1-compressed image in an sRGB image format.

srgbAlphaS3tcDxt1: 35917

A DXT1-compressed image in an sRGB image format with a simple on/off alpha value.

srgbAlphaS3tcDxt3: 35918

A DXT3-compressed image in an sRGBA image format.

srgbAlphaS3tcDxt5: 35919

A DXT5-compressed image in an sRGBA image format.

r11Eac: 37488

One-channel (red) unsigned format compression.

signedR11Eac: 37489

One-channel (red) signed format compression.

rg11Eac: 37490

Two-channel (red and green) unsigned format compression.

signedRg11Eac: 37491

Two-channel (red and green) signed format compression.

rgb8Etc2: 37492

Compresses RGB8 data with no alpha channel.

srgb8Etc2: 37493

Compresses sRGB8 data with no alpha channel.

rgb8PunchthroughAlpha1Etc2: 37494

Similar to CompressedTextureStorageFormat.rgb8Etc2, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent.

srgb8PunchthroughAlpha1Etc2: 37495

Similar to CompressedTextureStorageFormat.srgb8Etc2, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent.

rgba8Etc2Eac: 37496

Compresses sRGBA8 data. The RGB part is encoded the same as CompressedTextureStorageFormat.rgb8Etc2, but the alpha part is encoded separately.

srgb8Alpha8Etc2Eac: 37497

Compresses sRGBA8 data. The RGB part is encoded the same as CompressedTextureStorageFormat.srgb8Etc2, but the alpha part is encoded separately.

rgbPvrtc4bppv1: 35840

RGB compression in 4-bit mode. One block for each 4×4 pixels.

rgbPvrtc2bppv1: 35841

RGB compression in 2-bit mode. One block for each 8×4 pixels.

rgbaPvrtc4bppv1: 35842

RGBA compression in 4-bit mode. One block for each 4×4 pixels.

rgbaPvrtc2bppv1: 35843

RGBA compression in 2-bit mode. One block for each 8×4 pixels.

rgbaAstc4x4: 37808
rgbaAstc5x4: 37809
rgbaAstc5x5: 37810
rgbaAstc6x5: 37811
rgbaAstc6x6: 37812
rgbaAstc8x5: 37813
rgbaAstc8x6: 37814
rgbaAstc8x8: 37815
rgbaAstc10x5: 37816
rgbaAstc10x6: 37817
rgbaAstc10x8: 37818
rgbaAstc10x10: 37819
rgbaAstc12x10: 37820
rgbaAstc12x12: 37821
srgb8Alpha8Astc4x4: 37840
srgb8Alpha8Astc5x4: 37841
srgb8Alpha8Astc5x5: 37842
srgb8Alpha8Astc6x5: 37843
srgb8Alpha8Astc6x6: 37844
srgb8Alpha8Astc8x5: 37845
srgb8Alpha8Astc8x6: 37846
srgb8Alpha8Astc8x8: 37847
srgb8Alpha8Astc10x5: 37848
srgb8Alpha8Astc10x6: 37849
srgb8Alpha8Astc10x8: 37850
srgb8Alpha8Astc10x10: 37851
srgb8Alpha8Astc12x10: 37852
srgb8Alpha8Astc12x12: 37853
rgbaBptcUnorm: 36492

Compresses 8-bit fixed-point data. Each 4x4 block of texels consists of 128 bits of RGBA or image data. See also BC7 format.

srgbAlphaBptcUnorm: 36493

Compresses 8-bit fixed-point data. Each 4x4 block of texels consists of 128 bits of SRGB_ALPHA or image data. See also BC7 format.

rgbBptcSignedFloat: 36494

Compresses high dynamic range signed floating point values. Each 4x4 block of texels consists of 128 bits of RGB data. It only contains RGB data, so the returned alpha value is 1.0.

See also BC6H format.

rgbBptcUnsignedFloat: 36495

Compresses high dynamic range unsigned floating point values. Each 4x4 block of texels consists of 128 bits of RGB data. It only contains RGB data, so the returned alpha value is 1.0.

See also BC6H format.

redRgtc1: 36283

Each 4x4 block of texels consists of 64 bits of unsigned red image data. See also BC4 unsigned.

signedRedRgtc1: 36284

Each 4x4 block of texels consists of 64 bits of signed red image data. See also BC4 signed.

redGreenRgtc2: 36285

Each 4x4 block of texels consists of 64 bits of compressed unsigned red image data followed by 64 bits of compressed unsigned green image data. See also BC5 unsigned.

signedRedGreenRgtc2: 36286

Each 4x4 block of texels consists of 64 bits of compressed signed red image data followed by 64 bits of compressed signed green image data. See also BC5 signed.

rgbEtc1: 36196

Compressed 24-bit RGB data with no alpha channel.

remarks

Due to limitations with ETC1, textures with mipmaps will appear black until ALL mip-levels are uploaded. To work around this, before using the texture, upload the first level and await generateMipmaps() on your texture immediately afterwards.

Generated using TypeDoc