Skip to main content

Module texture

Module texture 

Source
Expand description

CPU decoding of ImageBuffer levels to RGBA8, for targets without BC texture support.

Functionsยง

decode_rgba
Decode one level to tightly packed RGBA8 (width * height * 4 bytes). Returns None for formats that are not colour images (R32F, depth).