TextureSpec.sampling ​

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 · inherited by TextureSlot, TextureInput · stable · since 2.0.0

ts
sampling?: TextureSampling;

How the image is filtered when drawn smaller or larger than its pixels: 'pixel' for pixel art and data maps, a lower anisotropy to save GPU time on a slot seen face-on.

Default:

Generic-API test (spec 3.1) ​

Rule Result
1. Neutral name pass: sampling names no product
2. A precedent pass: glTF 2.0 samplers (row G29); Unity Texture.anisoLevel (row G29); glTF KHR_texture_transform (row K15)
3. Two apps, or labs pass: 17 apps (ledger: app-04c2774145, app-0c773a4ee3, app-4762caacdc, app-4f16d2f6da, app-59c5b5751e, app-b362a81c85, app-b4ae2fce25, app-bcb7ef21da and 9 more; fleet cross-check: app-59c5b5751e, app-e61a0b42ad, app-f3598fad77)
4. The cheaper fix first decided per need in Appendix B: rows G29, K15 at tier stable (a member only where no rule, data, asset or app code serves the need)