Formed from the settling of crystals within a magma chamber, may be layered if dense minerals are allowed to sink preferentially.