In order to implement a basic Ubershader (a shader which is compiled numerous times with different directives (defines)) I wrote a custom shader processor in XNA. My processor outputs a dictionarry full of compiled shaders, from which I pick the needed shader at runtime. Unfortunately the final dictionarry is so large, it takes a tone of time to load into memmory when the program starts. So I wonder if it is possible to export my results into several XNA output files, which I can load one at a time (and not all at once), calling
I know how to specify an output type for a single output file:
public class PSProcessor : ContentProcessor<EffectContent, Dictionary<string, object>>
It's the second parameter in triangular brackets, but what if I want several files to be created?