Thanks for help.
I try to mix two way together. In each frame, I do things in the following order:
ID3DX11EffectTechnoque->GetPassByIndex(0)->Apply( 0, DeviceContext );
Map constant buffer
Umap constant buffer
But If i render in the order above, I cannot pass the values correctly and thereby cannot render correct things.
Is the order wrong? Or I cannot mix the two ways?