Metamorphic rocks are classified by texture and by mineral composition. Foliated metamorphic rocks. If a rock is foliated, its name is determined by the type of foliation present and the dominant minerals—for example, a kyanite schist. If the minerals are segregated into alternating light‐colored and dark‐colored layers, the rock is called a gneiss.