A texture object can be a parameter as well. Just use TextureObjectParameters instead of TextureObject