Pharrell Williams' enormous hats have become something of an internet phenomenon Reuters

Pharrell Williams brought a plethora of guests to perform with him before and during the annual NBA All-Star Game in New Orleans.

Taking to the stage at the Smoothie King Center, Pharrell set out to introduce the players from both teams but brought some guests including Nelly, who briefly performed his 2002 hit Hot in Herre.

Next out were P Diddy and Busta Rhymes, who performed Pass the Courvoisier, Part II before Snoop Dogg arrived to perform Beautiful.

Pharrell closed the pre-game show with a medley of Daft Punk collaboration Get Lucky and his most recent hit Happy, from the film Despicable Me 2.

Kendrick Lamar and Janelle Monáe also performed at the event. Lamar's medley of m.A.A.d City and Bitch, Don't Kill My Vibe went down well, as did Monáe's halftime show, which saw guest appearances from Gary Clark Jr. and Earth Wind & Fire, with whom she performed Shining Star.

You can watch all the performances below.