Magnum::GL::Sampler class

Texture sampler.

Public static functions

static auto maxMaxAnisotropy() -> Float
Max supported max anisotropy.

Function documentation

static Float Magnum::GL::Sampler::maxMaxAnisotropy()

Max supported max anisotropy.

The result is cached, repeated queries don't result in repeated OpenGL calls. If extension ARB_texture_filter_anisotropic (part of OpenGL 4.6) or EXT_texture_filter_anisotropic (desktop or ES) is not available, returns 0.0f.