How can I set or see my frame rate?
Frame rate can be calculated by finding out the number of frames that has been drawn in a given time limit. To see the frame rate you have to use the ID3DXFont object to draw the current frame rate to display buffer.The frame rate depends on the parameter set to presentation parameter structure during createdevice. The D3DPRESENT_INTERVAL_DEFAULT member of D3DPRESENT_PARAMETERS or the D3DPRESENT_INTERVAL_ONE member of D3DPRESENT_PARAMETERS is nearly equivalent. They perform similarly to COPY_VSYNC in that there is only one present per frame, and they prevent tearing with beam-following although frame rate gets limited to the screen's refresh rate.
In contrast, the D3DPRESENT_INTERVAL_IMMEDIATE member of D3DPRESENT_PARAMETERS will attempt to provide an unlimited presentation rate. So depending on which parameter you have used to set the presentation structure your frame rate may vary.
FAQ Menu
Sponsored links
Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Six Sigma Certification
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.
SSH and SFTP support for .NET
Add complete SSH and SFTP support to your .NET framework application
Add complete SSH and SFTP support to your .NET framework application
3 Months Free - ASP.NET Web Hosting
3 Months Free & No Setup Fees on ASP.NET 3.5/2.0 Hosting on Windows 2008/2003 Servers ? Click Here!
3 Months Free & No Setup Fees on ASP.NET 3.5/2.0 Hosting on Windows 2008/2003 Servers ? Click Here!
