The three factors that influence the textures of igneous rocks are the speed of cooling, the silicate content, and the water content.
Igneous rocks contain randomly arranged interlocking crystals. The size of the crystals depends on how quickly the molten magma solidified: magma that cools slowly will form an igneous rock with large crystals. lava that cools quickly will form an igneous rock with small crystals. When magma cools, crystals form because the solution is super-saturated with respect to some minerals. If the magma cools quickly, the crystals do not have much time to form, so they are very small. If the magma cools slowly, then the crystals have enough time to grow and become large.