getMaxAnisotropy method
Implementation
num getMaxAnisotropy() {
if (maxAnisotropy != null) return maxAnisotropy!;
final extension = extensions.get('EXT_texture_filter_anisotropic');
if (extension != null) {
maxAnisotropy = gl.getParameter(WebGL.MAX_TEXTURE_MAX_ANISOTROPY_EXT);
} else {
maxAnisotropy = 0;
}
return maxAnisotropy!;
}