TextureSpec.colorSpace ​Contract 2.0.0 · package sha256
a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e· generated fromconfigurator-runtime.d.tsbyservices/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.
Property of TextureSpec · inherited by TextureSlot, TextureInput · stable · since 2.0.0
colorSpace?: 'srgb' | 'linear';
How the image's values decode. 'srgb' in the colour slots baseColor, emissive, sheenColor
and specularColor; 'linear' in every other slot (normal, metallic, roughness,
occlusion, orm, alpha, clearcoat, clearcoatRoughness, clearcoatNormal,
sheenRoughness, specular), as glTF and its KHR extensions define them and 1.x decodes
stored maps.
Default: 'srgb' for the four colour slots, 'linear' for every other slot
| Rule | Result |
|---|---|
| 1. Neutral name | pass: colorSpace names no product |
| 2. A precedent | pass (through its owner TextureSpec): glTF 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) at tier stable (a member only where no rule, data, asset or app code serves the need) |