Christian Costa : d3dxof: Avoid accessing template/object buffer directly.