Functional optical coherence tomography enables in vivo optoretinography of photoreceptor dysfunction due to retinal degeneration.