Module shaders

Source
Expand description

WGSL shader sources. WGSL shader sources (clip + primitives), concatenated at pipeline build time.

Functionsยง

border_rounded_rect_shader_source
Rounded-border SDF ring shader with clip uniform.
box_shadow_shader_source
Paint-only rounded box-shadow shader with clip uniform.
rect_shader_source
Solid-color rect shader with optional clip uniform.
ring_progress_shader_source
Circular progress ring shader with clip uniform.
rounded_rect_shader_source
Rounded-rect SDF shader with clip uniform.
stroke_shader_source
Stroked polyline shader with optional clip uniform.
textured_shader_source
Textured quad shader (icons) with clip uniform.