Expand description
Bounded zero-heap compressed texture transcode and block decode bridge. Bounded zero-heap compressed texture transcode and block decode bridge.
Structs§
- Transcoded
Texture Info - Information describing a transcoded texture.
Enums§
- Compressed
Block Format - Supported compressed block formats.
- Transcode
Error - Errors returned by texture transcoding operations.
- Transcode
Target Format - Target output format for texture transcoding.
Functions§
- decode_
astc_ 4x4_ block - Decode a single 16-byte ASTC 4x4 LDR block (handles Void-Extent constant color blocks and 4x4 CEM endpoint + reversed weight-stream interpolation).
- decode_
bc1_ block - Decode a single 8-byte BC1 block into 16 RGBA8 texels.
- decode_
bc3_ block - Decode a single 16-byte BC3 block into 16 RGBA8 texels.
- decode_
bc7_ block - Decode a single 16-byte BC7 block (full Khronos/D3D11 spec across all 8 modes,
Modes 0..=7). - decode_
compressed_ image_ to_ rgba8 - Decode a grid of compressed blocks into caller-provided RGBA8 destination.
- decode_
etc2_ eac_ rgba_ block - Decode a single 16-byte ETC2 RGBA8 block (64-bit EAC alpha + 64-bit ETC1/ETC2 RGB).
- transcode_
ktx2_ into - Transcode a KTX2 compressed texture container into caller-provided output buffers.