how do geologists determine the texture of a rock