   D3DXCreateEffectFromFile and GetConstantByName
  Hey Guys,I'm using D3DXCreateEffectFromFile to load and compile shaders and that part is working great.I'm using functions such as anEffect->SetBool("blah",true) to set parameters to my shader and that part is workin fine.I heard that it was slow to look up parameters by name like that every frame and that you should get a handle to the parameter via GetConstantByName and just use that on a per frame basis.The problem however is that GetConstantByName is a member of a constant table, but i don't seem to have access to a constant table for my effect.Does anyone know how this is supposed to work? I am really stuck!Thank you!   
  That method is for constant tables, which are generally used when you're not using the effects framework. If you have an effect the equivalent method is ID3DXEffect::GetParameterByName.   ;  Thanks!!   