ID3D10Effect::GetConstantBufferByName method (d3d10effect.h)
Get a constant buffer by name.
ID3D10EffectConstantBuffer * GetConstantBufferByName( LPCSTR Name );
The constant-buffer name.
A pointer to the constant buffer indicated by the Name. See ID3D10EffectConstantBuffer.
An effect that contains a variable that will be read/written by an application requires at least one constant buffer. For best performance, an effect should organize variables into one or more constant buffers based on their frequency of update.