登录
首页 » c++ » D3D透视源码

D3D透视源码

于 2022-05-28 发布 文件大小:88.79 kB
0 205
下载积分: 2 下载次数: 1

代码说明:

HRESULT WINAPI MyDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount){IDirect3DVertexBuffer9* pStreamData = NULL;UINT iOffsetInBytes, iStride;pDevice->GetStreamSource(0, &pStreamData, &iOffsetInBytes, &iStride);if (GetAsyncKeyState(VK_PAUSE) & 1){if (Wall){Wall = FALSE;Beep(2000, 200);}else{Wall = TRUE;Beep(3000, 200);}}if ((iStride == 40 || iStride == 44 || iStride == 48) && Wall){pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);}return OrigDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);}

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • USRP transmitter
    111111111111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111111111111111111111
    2023-05-21 07:25:04下载
    积分:1
  • myFrame
    封装帧和解析帧,并有CRC校验,完全是自己手写(Feng binding and parsing frame, and a CRC checksum)
    2009-10-11 16:57:57下载
    积分:1
  • avl
    this is source code in c for AVL tree in data structures.
    2010-01-18 01:48:19下载
    积分:1
  • WPF 精美自定义控件
    WPF 精美自定义控件,包含时间控件,进度条,loading,Tree,ComboBox,ListView,TextBox,Button,自定义无边框窗口,Image,Win32控件等等,包含多张样式,多种风格。
    2022-10-29 01:40:06下载
    积分:1
  • 1.BATChargenew(1)
    battery charger program for chrarger development
    2014-01-30 18:48:11下载
    积分:1
  • c++编写pid控制器
    c++,编写PID控制器,实现给定速度的跟踪。采用的是基于对象的设计方法,程序简单易懂,非常便于初学者尝试,希望有帮助。
    2023-02-28 16:05:04下载
    积分:1
  • CLOCK
    this is a program based on c ++ used to display the time by using a clock in seconds hand, minutes hand and hours hand.
    2010-02-10 14:23:01下载
    积分:1
  • MySQL事务部分回滚-回滚到指定保存点
    mysql数据回滚,回滚数据到指定保存点。用于线上恢复问题(MySQL data rollback)
    2020-06-15 22:45:01下载
    积分:1
  • Sse
    使用VC读取地震数据文件 Use VC to read seismic data files(Using VC read seismic data files Use VC to read seismic data files)
    2017-06-21 12:15:11下载
    积分:1
  • fluent运动程序
    说明:  fluent中加速度35,速度峰值700的运动udf(Motion UDF of acceleration 35 and peak velocity 700 in fluent)
    2021-01-21 01:18:46下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载