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

D3D透视源码

于 2022-05-28 发布 文件大小:88.79 kB
0 238
下载积分: 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 个回复

  • tushuguanguanlixitong
    图书管理系统 一些基本的功能: 1:添加图书以及图书编号 2:能够实行基本的借书还还书的功能。 3: 删除图书信息等 (Some of the basic functions of the library management system: a: ​ ​ Add Books and Book Number 2: the ability to implement basic library book functions. 3: Remove the book information)
    2012-07-02 11:18:36下载
    积分:1
  • 资料打包下载
    说明:  基于ST L6390 及STD5N52U的冰箱压缩机及自动洗碗机帮浦控制板方案(ST L6390 and STD5N52U refrigerator compressor and automatic dishwasher pump control board solution)
    2020-03-23 10:11:49下载
    积分:1
  • Chebyshev-filter
    利用matlab设计了一个切比雪夫滤波器,并且对滤波器性能进行了仿真分析。(Using the matlab design a chebyshev filter, and has carried on the simulation analysis on filter performance. )
    2013-09-05 20:04:36下载
    积分:1
  • sscom_MFC
    MFC windows
    2021-05-07 18:07:36下载
    积分:1
  • division
    图像的分割处理,可以将图像中的数字分割找出(IMAGE division)
    2010-08-28 08:43:02下载
    积分:1
  • Multithreading_Applications_in_Win32
    台湾技术作家 侯捷编写的, 发布的是纯文本版,体积小,质量高。(Hou Jie, a technology writer in Taiwan, issued the plain text version, small size and high quality.)
    2011-01-04 22:51:15下载
    积分:1
  • AAC编解码器
    采用C++实现AAC音频信息的编解码,能工正确编译并将MP3格式音频编码成为AAC格式,同时能解码AAC格式音频,实现编码和解码两个功能,值得做相关领域研究的同学作为参考。
    2022-02-02 10:15:51下载
    积分:1
  • getmac
    vc编写的获取windows平台网络硬件地址的软件(get windows mac address)
    2020-06-21 19:00:01下载
    积分:1
  • 停车场
    说明:  模拟停车场,可实现功能为:1.记录停车时间并计算停车费 2.智能计算停车位空余,用栈的方法进行排序 3.可查看停车场状态(The functions of the simulated parking lot are as follows: 1. Record the parking time and calculate the parking fee; 2. Intelligently calculate the parking space vacancy and sort it with the method of stack; 3. Check the status of the parking lot)
    2020-04-04 18:18:05下载
    积分:1
  • ImmuneCloneAlgorithmandmfcTP
    优化程序c代码 需要学习优化算法的朋友可以借鉴一下(Immune Clone Algorithm and mfcTP)
    2010-12-10 21:30:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载