Skip to main content

STRIP_FEATURES

Constant STRIP_FEATURES 

Source
pub const STRIP_FEATURES: [&str; 6];
Expand description

The class feature names a //#if directive in strip.wgsl may name — IMAGE_SAMPLER, the family switch, is the only other one.

  • IMAGE — atlas image sampling at nearest and bilinear quality;
  • IMAGE_FILTERED — nested inside IMAGE: bicubic atlas sampling and the external texture;
  • GRADIENT — the linear, radial and sweep gradients;
  • BLURRED_RECT — the blurred rounded rectangle;
  • LAYER — the layer colour source a composite samples its page through;
  • GLYPH — the glyph quad: one nearest atlas load at the texel the instance’s payload names. Not nested inside IMAGE and never reading the sampler, so it compiles identically in both program families.