This was painted by a French artist for the French court who viewed this as a French victory in the global war between British, French, Dutch and Spanish.
Lots of British soldiers, lots of French soldiers, and somewhere off to the side the Colonial soldiers.
Not shown is the French fleet blockade preventing the British fleet from rescuing Cornwallis.