Enum texel_clamp_mode_e

Enum Documentation

enum class wt::bitmap::texel_clamp_mode_e : std::uint8_t

Clamping mode for filtered texel values:

  • none: no clamping.

  • clamp_non_negative (default): clamp values to be non-negative.

  • clamp_non_positive: clamp values to be non-positive. (Note: some texture filtering methods, like bicubic, might produce negative texels even when the entire bitmap is positive).

Values:

enumerator none
enumerator clamp_non_negative
enumerator clamp_non_positive