TextureSampling ​

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.

Interface · import type { TextureSampling } from '@holostep-configurators/runtime-client/contract'; · stable · since 2.0.0 · section 8. Materials and textures

How a texture is filtered.

Members ​

Member Kind Summary
filter? property 'pixel': nearest-neighbour, for pixel art and data maps.
anisotropy? property 1..16, clamped to the device.

Declaration ​

ts
export interface TextureSampling {
  filter?: 'smooth' | 'pixel';
  anisotropy?: number | 'max';
}

Generic-API test (spec 3.1) ​

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