Crate texpresso

Source
Expand description

A pure Rust texture compression suite

Structs§

Params

Enums§

Algorithm
Defines a compression algorithm
Format
Defines a compression format

Constants§

COLOUR_WEIGHTS_PERCEPTUAL
Weights based on the perceived brightness of each colour channel
COLOUR_WEIGHTS_UNIFORM
Uniform weights for each colour channel

Functions§

num_blocks
Returns number of blocks needed for an image of given dimension

Type Aliases§

ColourWeights
RGB colour channel weights for use in block fitting