Make Query a method on Texture

This is more go-ish and as everything else is also a method on Texture, this makes more sense for me.