Skip to main content

lut_sampler

Function lut_sampler 

Source
pub fn lut_sampler(device: &Device) -> Sampler
Expand description

The LUT sampler: linear filtering, repeat across u (so a hue rotation past the gradient edge wraps like the cosine’s periodic wheel) and clamp on the single-row v.