mipNearest constant
int
const mipNearest
Set when the mip level is chosen by nearest rather than interpolated
(TextureSampling.mipLinear == false). Bit 7 because bits 3-6 are
already spoken for by the two wrap fields.
Stored inverted — presence means "not linear" — so that a file written
before this flag existed, which leaves the bit unset, decodes to
mipLinear: true, matching TextureSampling's own default and what
every reader before this flag assumed a mipmapped sampler meant.
Implementation
static const int mipNearest = 1 << 7;