随笔分类 -  DirectX

摘要:// @time: 2012.3.22 // @author: jadeshu // des: 索引缓存 //包含头文件 #include #include #pragma comment(lib,"d3d9.lib") //自定义 #define ReleaseD3D(x) if (x!=NULL){x->Release();x=NULL;} //定义设备接口 IDirect3DDevice... 阅读全文
posted @ 2019-03-08 19:51 jadeshu 阅读(455) 评论(0) 推荐(0)
摘要:代码实例1: 代码实例2: 阅读全文
posted @ 2019-01-01 06:00 jadeshu 阅读(729) 评论(0) 推荐(0)
摘要:// @time: 2012.3.26 // @author: jadeshu // des: DirectX键盘控制程序 #include #include #include #include #define DIRECTINPUT_VERSION 0x0800 #include #define ReleaseD3D(x) if (x!=NULL){x->Release();x=... 阅读全文
posted @ 2019-01-01 05:59 jadeshu 阅读(480) 评论(0) 推荐(0)
摘要:// @time 2012.3.25 // @author jadeshu #include #include #include #pragma comment(lib,"d3d9.lib") #pragma comment(lib,"d3dx9.lib") #pragma comment(lib,"winmm.lib") wchar_t *g_pClassName=L"Transform... 阅读全文
posted @ 2019-01-01 05:56 jadeshu 阅读(193) 评论(0) 推荐(0)
摘要:// @time 2012.3.5 // @author jadeshu //包含头文件 #include #include #pragma comment(lib,"d3d9.lib") //自定义 #define ReleaseD3D(x) if (x!=NULL){x->Release();x=NULL;} //定义设备接口 IDirect3DDevice9 * g_pDevic=... 阅读全文
posted @ 2019-01-01 05:53 jadeshu 阅读(277) 评论(0) 推荐(0)