DirectXTimer (MDX)
I am working on the game example in Tom Miller's Kick Start book and it seems he uses a Utility object, and a DirectXTimer object in his code. I can't find either of thise in DX at all. I looked at his code that came with the book and it uses them and I have the same stuff referenced and using as he does. I was wondering if these were removed from MDX or are they there under a different name? If not it looks like I will be having to make a high res timer. as in 1ms timer.
I have a pretty high resolution timer running. I can post the code, if you like. It might take a little modifying, but it seems to work quite decently for me.
The timer that you are looking for in located in the common framework that ships with the SDK, Have a look in the managed samples directory under the common directory, you will need to add the dxutmisc.cs from memory.
Also just a reminder that ZMan has release the updated code for the Managed DirectX Kickstart book on his site. The ZBuffer
Also just a reminder that ZMan has release the updated code for the Managed DirectX Kickstart book on his site. The ZBuffer
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement