That is correct! The texture of an igneous rock is primarily influenced by three factors:
The rate at which the magma cools: slower cooling leads to larger crystals and a coarser texture, while rapid cooling leads to smaller crystals and a finer texture.
The amount of silica in the magma: magma with a higher silica content tends to produce rocks with a more viscous, thicker texture, while magma with a lower silica content produces rocks with a thinner texture.
The amount of dissolved gases in the magma: the presence of gases such as water vapor and carbon dioxide can affect the rate of cooling and crystal formation, as well as the overall texture of the resulting rock.