The single layer of pigment-containing epithelial cells in the retina, situated closely to the tips (outer segments) of the RETINAL photoreceptor cells. These epithelial cells are macroglia that perform essential functions for the photoreceptor cells, such as in nutrient transport, phagocytosis of the shed photoreceptor membranes, and ensuring retinal attachment.