# SHADER_LAYER_SIZE

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

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

```rust
const SHADER_LAYER_SIZE: &str = "layer_size"
```

The name of the uniform of the size of the layer in device pixels, a
`float2`, the first uniform of a shader effect.

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

## Availability

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