Improved texture binding predicate for faster rendering.
Added support for anisotropic filtering.