Author: Anton Roth
Date: Sep 19, 2008 01:53
... g_pTechnique->GetDesc( &techDesc ); for( UINT p = 0; p < techDesc.Passes; ++p ) { g_pTechnique->GetPassByIndex( p )->Apply(0); g_pd3dDevice->DrawIndexed( 36, 0, 0 ); } and also i have question, if i follow your .fx file code and call the code above. will it draw twice? both of non-textured and textured. I wonder. if you used my fx file and that code, yes, it...
|