   [dx10]get var from effect
  Hy.What do this line of code , extracted from an example of the sdk?//types:ID3D10EffectMatrixVariable*    g_pmWorldViewProj = NULL;ID3D10Effect*   g_pEffect10 = NULL;// Get effects variablesg_pmWorldViewProj = g_pEffect10->GetVariableByName( "g_mWorldViewProj" )->AsMatrix();why call this getter and what is ->AsMatrix?Thanks   
  It retrieves a handle to the g_mWorldViewProj effect variable to allow you to change it later on in your code. Grabbing a reference for it during initialization is typically faster later on and allows for cleaner code.The ->AsMatrix() is essentially a type cast. Nothing more exciting than that unfortunately!The code should really be followed up with a call to IsValid() to ensure that the loaded effect actually has the named variable...hthJack   