Direct3D FAQ

Why is my frame rate only 50/60/75/100 when I'm only drawing 1 triangle?

Why is my frame rate only 50/60/75/100 when I'm only drawing 1 triangle?

By default the display is only updated in sync with the vertical refresh. If you want to have your frames presented as fast as possible then specify D3D.PresentInterval.Immediate for the PresentationInterval in your Presentation Parameters when you create the device.

PresentParameters pp = new PresentParameters();

   pp.PresentationInterval = D3D.PresentInterval.Immediate;
   //Other members need to be set as well, but aren't shown here.

See this article for more information on creating a D3D device.

Back