Skip to main content

create_linear_sampler

Function create_linear_sampler 

Source
pub fn create_linear_sampler(device: &Device, label: Option<&str>) -> Sampler
Expand description

Create a linear sampler with ClampToEdge address mode.

This is the most common sampler configuration, suitable for:

  • Terminal cell rendering
  • Sixel graphics
  • UI textures