Added: texture.grid function.