Adds the spectral descriptor Spdc to the descriptor set. The function returns the index of the spectral descriptor in the descriptor list.
Hint:
In order to directly access the currently loaded spectral descriptors (those which are displayed in the Spectral Descriptor Editor) you can use the pre-declared global variable SPDCData.