Igneous rocks are classified according to mode of occurrence, texture, mineralogy, chemical composition, and the geometry of the igneous body.