能力值:
( LV3,RANK:20 )
|
-
-
|
能力值:
( LV3,RANK:20 )
|
-
-
DX 游戏如何实现后台截图??
流程是这样的
hook IDirect3DDevice9::Present
在Present里拿到this,也就是一个IDirect3DDevice9*指针
this->GetBackBuffer,拿到后台缓冲区表面
D3DXSaveSurfaceToFileInMemory拿到的表面,可以指定D3DXIFF_DIB,这样在内存中就以DIB格式保存了那个后台表面的截图了
|
能力值:
( LV3,RANK:20 )
|
-
-
|