# `TextureSampling.anisotropy`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Property of [`TextureSampling`](TextureSampling.md) · stable · since 2.0.0

```ts
anisotropy?: number | 'max';
```

1..16, clamped to the device.

**Default:** 'max'

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `anisotropy` names no product |
| 2. A precedent | pass (through its owner [`TextureSampling`](TextureSampling.md)): [glTF 2.0 samplers](https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#samplers) (row `G29`); [Unity Texture.anisoLevel](https://docs.unity3d.com/ScriptReference/Texture-anisoLevel.html) (row `G29`) |
| 3. Two apps, or labs | one app recorded (through its owner [`TextureSampling`](TextureSampling.md)): app-e61a0b42ad (spec 3.1 rule 3 asks for two, or labs) |
| 4. The cheaper fix first | decided per need in Appendix B: rows `G29` (through its owner [`TextureSampling`](TextureSampling.md)) at tier stable (a member only where no rule, data, asset or app code serves the need) |
