# shader_uniform_name_matches

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/media/effects/function-shader_uniform_name_matches/

**function** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
fn shader_uniform_name_matches(uniform: &str, parameter: &str) -> bool
```

Whether `uniform` is the name of the uniform of the parameter `parameter`
([`shader_uniform_name`](/docs/0.5.0/api/ferroui-base/media/effects/function-shader_uniform_name/)), without allocating.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/effects/custom_effect_shader.rs#L715)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
