I have started implementing DirectX 11 at last and I have found myself at a puzzle.
Currently the engine supports OpenGL and DirectX 9.0c, which both have a very simple way of setting parameters on the shaders by asking for the name of the parameter for example DirectX9 has the ID3DXBaseEffect::GetParameterByName
Which you can use and then set the parameter.
Similarly, OpenGL uses glGetAttribLocation which gets you the handle by the name of the variable and then we can set it.
In DirectX11 however, I have only found registers and buffers, or at least that's what I have found to be compatible both with Win32 and the Mobile/Windows Store version.
Anyone has any insight I may have been missing, or an advice on bridging the three?