decompose_sampler_name

Function decompose_sampler_name 

Source
pub(crate) fn decompose_sampler_name(full: &str) -> (String, &'static str)
Expand description

Decompose an HLSL user-sampler name into (logical_name, sampler_kind). The logical name is what the renderer looks up in the texture pool; the sampler kind is the WGSL sampler binding used at the textureSample call site.