PictureSampling beta
Interface of @v12-engine/render
ts
export interface PictureSamplingHow a picture is sampled (a glTF file's sampler, Babylon's texture's wrapU, wrapV, samplingMode, anisotropicFilteringLevel): what is left out is the renderer's own, repeating, linear between texels and mips, 4 times anisotropic
Members
anisotropy
ts
anisotropy?: number;How anisotropic, 1 to 16: 1 where a filter is nearest (the card's rule)
magFilter
ts
magFilter?: 'linear' | 'nearest';Between its texels up close (larger on the screen than they are)
minFilter
ts
minFilter?: 'linear' | 'nearest';Between its texels far off (smaller on the screen than they are), as magFilter up close
mips
ts
mips?: 'linear' | 'nearest' | 'none';Between its mips: linear, nearest, or none (none: its largest alone)
wrapU
ts
wrapU?: 'repeat' | 'clamp' | 'mirror';Past its left and right edges: again (repeat), its edge (clamp), mirrored (mirror)
wrapV
ts
wrapV?: 'repeat' | 'clamp' | 'mirror';Past its top and bottom edges, as wrapU across