13 WRAP_CLAMP_TO_EDGE, WRAP_FIRST = WRAP_CLAMP_TO_EDGE,
17 WRAP_MIRROR_CLAMP_TO_EDGE,
18 WRAP_MIRROR_CLAMP_TO_BORDER, WRAP_LAST = WRAP_MIRROR_CLAMP_TO_BORDER
23 WRAP_COUNT = WRAP_LAST - WRAP_FIRST + 1
29 return Wrap == WRAP_CLAMP_TO_BORDER || Wrap == WRAP_MIRROR_CLAMP_TO_BORDER;
39 typedef float(*wrap_type)(
float const & SamplerCoord);
41 wrap_type get_func(
wrap WrapMode)
const;
49 #include "./core/sampler.inl"
filter
Texture filtring modes.
Namespace where all the classes and functions provided by GLI are exposed.
Include to use filter enum, to select filtering methods.
wrap
Texture coordinate wrapping mode.
bool is_border(wrap Wrap)
Evaluate whether the texture coordinate wrapping mode relies on border color.