I have hardly touched DirectX, but I have come across loads and loads of 'engines' for it.

Which one are you after?