   [SlimDX] Rebuilding BasicEffect for SlimDX
  I just moved from XNA to SlimDX and everything going fine.I built a GenericEffect class which intended to be used for common rendering tasks in the same way I were using XNA's BasicEffect. and because it should be instanced intensivly in my code, I marked the Direct3D11.Effect as static to avoid multiple instances of the same shader in GPU ram and I build the code so I can detect the changes of its parameters and update its cbufffers if needed to maintain performance.I end up with a problem when using mutiple instances of this class because all instances share the same effect code and its cbuffers or parametrs variables, so parameters changes detection can't be used and I forced to do one of the following:- Make a local copy of Direct3D11.Effect to be sure that it have its own cbuffers or parameters but then the same shader code will be repeated and consumes GPU ram.- Keep the Direct3D11.Effect as static but I will need to update its parameters for each instance draw which will affect performance.or- Use Effect cloning method to get a clone of the effect with its own cbuffers, but here I have two problems with that 1- I'm not sure if it intended to be used in the same device or context 2- I didn't find any way to clone an effect using SlimDX.Any suggestions will be appreciated...   