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"
Include to use filter enum, to select filtering methods.
bool is_border(wrap Wrap)
Evaluate whether the texture coordinate wrapping mode relies on border color.
filter
Texture filtring modes.
wrap
Texture coordinate wrapping mode.
Namespace where all the classes and functions provided by GLI are exposed.