Skip to main content

Crate ctt_intel_texture_compressor

Crate ctt_intel_texture_compressor 

Source

Modules§

bc1
BC1 (DXT1) block compression — RGB, no alpha.
bc3
BC3 (DXT5) block compression — RGBA with interpolated alpha.
bc4
BC4 (RGTC1) block compression — single-channel (red).
bc5
BC5 (RGTC2) block compression — two-channel (red + green).
bc7
BC7 block compression — RGBA (high-quality).
bc6h
BC6H block compression — RGB HDR (half-precision float).
bindings
etc1
ETC1 (Ericsson Texture Compression 1) block compression — RGB, no alpha.

Structs§

Surface
Describes a 2D image to block-compress.

Type Aliases§

RSurface
1-channel, 8-bit surface: R8 — 1 byte per pixel.
RgSurface
2-channel, 8-bit surface: R8 G8 interleaved — 2 bytes per pixel.
RgbaF16Surface
4-channel, 16-bit surface: R16 G16 B16 A16 — 8 bytes per pixel.
RgbaSurface
4-channel, 8-bit surface: R8 G8 B8 A8 — 4 bytes per pixel.