a simple question. When setting an effect at runtime, is it possible to restore any or all effects parameter defaults? When I write a shader, I have tried specifying defaults in both the xml file and the fx file. However, when changing the effect at runtime, all effect parameters seem to reset to 0 regardless of the shader's default values. Is this intended behavior? If it is, will there be any way to reset a parameter to its default as specified in the XML file ?
Thanks for your time.
Edit: I am running HWA build #249 . Perhaps this behavior has changed in a new build, but I'm not sure.