TextureSampling.filter ​

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 · stable · since 2.0.0

ts
filter?: 'smooth' | 'pixel';

'pixel': nearest-neighbour, for pixel art and data maps.

Default: 'smooth'

Generic-API test (spec 3.1) ​

Rule Result
1. Neutral name pass: filter names no product
2. A precedent pass (through its owner TextureSampling): glTF 2.0 samplers (row G29); Unity Texture.anisoLevel (row G29)
3. Two apps, or labs one app recorded (through its owner TextureSampling): 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) at tier stable (a member only where no rule, data, asset or app code serves the need)