Make Query a method on Texture

This is more go-ish