GLTFSampler
Last update: 16.07.2025Samplers define how values are generated from textures with the give texture coordinates.
Definition GLTFSampler.h:26
@ WT_CLAMP_TO_EDGE
0 is used for texture coordinates < 0 and 1 is used for texture coordinates > 1.
Definition GLTFSampler.h:42
@ WT_MIRRORED_REPEAT
fractional value of texture coordinate is used, but value alternates going from 0 to 1 and [1 - (0 to...
Definition GLTFSampler.h:43
static Sampler * Create(GLTF *gltf, FilterType minFilter, FilterType magFilter, WrapType wrapS, WrapType wrapT)
@ FT_LINEAR_MIPMAP_LINEAR
Linearly interpolate between the two nearest texels in the linearly interpolated mipmap between two n...
Definition GLTFSampler.h:36
@ FT_NEAREST_MIPMAP_LINEAR
Choose nearest texel in linearly interpolated mipmap between two nearest mipmaps.
Definition GLTFSampler.h:35
@ FT_LINEAR_MIPMAP_NEAREST
Linearly interpolate between the two nearest texels of the nearest mipmap.
Definition GLTFSampler.h:34