Skip to main content

Module cpu_texture_mips

Module cpu_texture_mips 

Source
Expand description

Caller-buffered CPU RGBA8 mip reducer and format-specific reference filtering. Caller-buffered CPU RGBA8 mip reducer and format-specific reference filtering.

Enums§

CpuTextureMipError
CpuTextureMipSemantic
Filtering interpretation for one texture’s RGBA8 samples.

Functions§

downsample_alpha_mask_level_into
Downsample an alpha-masked texture level and preserve the authored base level’s alpha coverage at cutoff as closely as the destination’s discrete pixels permit.
downsample_rgba8_level_into
Downsample exactly one floor-halved (minimum dimension one) RGBA8 level.