Hello guys i'm wondering if some one of you can make FPS shower on the corner of the screen? i mean i function hook or something like that (i just don't know what is it called) :):
Printable View
Hello guys i'm wondering if some one of you can make FPS shower on the corner of the screen? i mean i function hook or something like that (i just don't know what is it called) :):
Why don't you go learn it yourself instead of asking others. anyways, i'll help you a little bit.
Hook EndScene , calculate your fps. and for example Present for the drawing, to not interfere with the fps rate calculation.
Use this to hook the functions(07)(VTable hooking) :
The VTable numbers of the functions can easily be found on google or whatever search engine you use.Code:DWORD *pDevice = 0x68BC2C;