   Accessing render states set in HLSL effects from XNA
  Anyone know whether it's possible to access render states in an HLSL technique from XNA?To explain what I mean, I've created an effect and one of the technique definitions from the fx file is this -technique DiffusePlain20Masked{pass P0{AlphaBlendEnable = true;DestBlend = INVSRCALPHA;SrcBlend = SRCALPHA;VertexShader = compile vs_1_1 VS_Main_1_1();PixelShader = compile ps_2_0 PS_PlainMasked();}}I'm importing the effect into XNA using the standard content importer. However there doesn't seem to be anywhere on the XNA 'Effect' or 'EffectPass' objects that exposes for example the 'AlphaBlendEnable' state so that I can check whether it will be set to true by this technique passWhat I'm trying to ascertain is whether a given object will be rendered using alpha blending based on the effect / technique used to render it. I could easily add an annotation to the pass section of the .fx file and read that but I'd rather use pre-existing functionality if it exists   
  Yeah I don't think you can access the effect states from your app code. You'll probably have to use annotations.   ;  Well, it's not the end of the world!Thanks for your prompt reply   