The inteface for filter changed in class Texture.

The filter is defined in the constructor instead of in the bind function