Pink Floyd's history includes several key members beyond the three you listed. While Roger Waters, David Gilmour, and Nick Mason were central to the band's "classic" era, the complete list of primary members is as follows:

The band was founded in 1965 by Barrett, Waters, Wright, and Mason. David Gilmour joined in late 1967 as a supplement to Barrett and eventually replaced him entirely in 1968. After the "classic" period featuring these four (Waters, Gilmour, Mason, and Wright), the lineup underwent several shifts, with various members leaving and reuniting over the decades. Both Syd Barrett (died 2006) and Richard Wright (died 2008) are no longer with us.