a white cake recipe only uses the whites of the egg, sometimes whipped and then folded into the batter, sometimes added directly to the butter/sugar mixture. vanilla cake uses both the egg whites and the egg yolks (usually) and results in a slightly off-white colored cake but in my opinion has the most flavor.