Home -> ITextureSampler -> SetAnisotropicFilterMode
Description
The SetAnisotropicFilterMode method allows anisotropic filtering to be enabled and configured for sampling from the texture. Requires the AnisotropicFiltering feature to be enabled when creating the renderer.
Important
Anisotropic filtering requires the AnisotropicFiltering feature to be supported and enabled on the renderer.
Usage
void SetAnisotropicFilterMode(bool enabled, int maxAnisotropy = 0);
Argument list
- enabled [bool]
- True to enable anisotropic filtering, false to disable it.
- maxAnisotropy [int]
- The maximum anisotropy level to request. Use 0 to let the renderer select the best supported level.