Added some fcts to D3D10Renderer.cpp