# `TextureSpec.optimizedUrl`

> 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 [`TextureSpec`](TextureSpec.md) · inherited by [`TextureSlot`](TextureSlot.md), [`TextureInput`](TextureInput.md) · stable · since 2.0.0

```ts
optimizedUrl?: string;
```

The optimized twin the runtime prefers when present (stored `opt…TextureUrl`). A write that changes [`url`](TextureSpec.url.md) without it drops the slot's previous twin.

**Default:** undefined

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `optimizedUrl` names no product |
| 2. A precedent | pass (through its owner [`TextureSpec`](TextureSpec.md)): [glTF KHR_texture_transform](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_texture_transform) (row `G34`) |
| 3. Two apps, or labs | pass: 4 apps (ledger: app-0c773a4ee3, app-f3598fad77; fleet cross-check: app-59c5b5751e, app-e61a0b42ad, app-f3598fad77) |
| 4. The cheaper fix first | decided per need in Appendix B: rows `G34` (through its owner [`TextureSpec`](TextureSpec.md)) at tier stable (a member only where no rule, data, asset or app code serves the need) |
