Skip to main content

Module texture_ktx2_rgba8

Module texture_ktx2_rgba8 

Source
Expand description

Allocation-free decoder for uncompressed single-face RGBA8 KTX2 base levels. Allocation-free decoder for uncompressed single-face RGBA8 KTX2 base levels.

Structs§

Rgba8Ktx2Image

Enums§

Rgba8Ktx2Error
Rgba8Ktx2Format

Constants§

VK_FORMAT_R8G8B8A8_SRGB
VK_FORMAT_R8G8B8A8_UNORM

Functions§

decode_ktx2_rgba8_base_level
Copy level zero into caller memory after validating all format and size constraints.
decode_ktx2_rgba8_base_level_with_scratch
Decode an RGBA8 base level using caller-owned scratch for KTX2 Zstd/Zlib supercompression.
inspect_ktx2_rgba8_base_level
Validate the supported texture subset and report the base-level output requirements.
inspect_ktx2_rgba8_base_level_with_compression
Inspect RGBA8 KTX2 while allowing the bounded Zstd/Zlib paths. BasisLZ and GPU block formats remain typed transcode requirements; no decoder is implied by this inspection API.