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

D3D透视源码

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

  • chaoshenbo
    使用超声波模块实现测量距离的目的,测试通过。(Ultrasonic module to achieve the purpose of measuring the distance test.)
    2012-05-23 15:53:12下载
    积分:1
  • MemCardSys
    会员卡管理系统 完全免费的源码 开发环境为VS2005 + ACCESS 功能包括刷卡消费,充值,纠错,挂失,解挂,发卡,补卡,操作员管理,登录管理。权限控制等。(Membership card management system completely free source development environment for VS2005+ ACCESS features include credit card spending, voucher, error correction, report the loss, Xie link card, fill cards, operator management, access management. Access control.)
    2010-01-11 17:55:13下载
    积分:1
  • LEDtest
    利用单片机作为芯片,利用点阵按钮通过继电器控制LED灯(Using single chip microcomputer as a chip, using bitmap button by relay control LED lights)
    2013-08-22 10:32:00下载
    积分:1
  • UNIX环境高级编程(第三版)
    UNIX环境高级编程第三版,贴图的,凑一下上传数(Advanced Programming in the UNIX Environment)
    2020-06-18 03:40:01下载
    积分:1
  • F103摄像头本
    说明:  对于新手调试入手很快,通过32单片进行通信控制,进行图像采集(For beginners, debugging is very fast. Communication control is carried out through 32 single chip, and image acquisition is carried out.)
    2020-06-25 03:40:01下载
    积分:1
  • MC55-TCP_user
    MC55 TCP 使用方法,介绍如何使用MC55的TCP过程,有兴趣的可以下载来看下。(MC55 TCP use, how to use the TCP process MC55, are interested can download look down.)
    2013-12-27 10:06:11下载
    积分:1
  • FSMC
    stm32F103 利用fsmc接口驱动液晶屏显示BMP图片(stm32F103 show BMP picture)
    2016-05-15 14:00:20下载
    积分:1
  • FDK的CT重建代码
    通过C++编写的FDK的三维重建的代码,最终实现了图像的三维重建。
    2023-02-21 14:30:05下载
    积分:1
  • 利用Hough变换的道路消失点检测
    一种有效的方法,检测和跟踪一个地平线上的消失点,出现在一个流的城市场景图像。在城市和街道的场景,这样的检测和跟踪,使能获得的三维结构的几何线索,给定的图像坐标的水平消失点,一个可以得到,特别是,信息
    2022-06-21 14:03:14下载
    积分:1
  • esp8266_oled wifi程序
    esp_8266  oled屏驱动程序, 模拟驱动
    2023-04-06 02:35:05下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载