D3DXCreateTextureFromFile()
来源:互联网 发布:淘宝怎么提升搜索排名 编辑:程序博客网 时间:2024/05/16 16:00
从磁盘文件获取纹理 HRESULT WINAPI D3DXCreateTextureFromFile( LPDIRECT3DDEVICE9 pDevice, //Direct3D设备指针 LPCTSTR SrcFile, //纹理图形文件 LPDIRECT3DTEXTURE9 *ppTexture //存储Direct3D纹理的指针地址 );
该函数支持的图形文件类型:bmp、dds、dib、jpg、png以及tga等。
Parameters
- pDevice
- [in] Pointer to an IDirect3DDevice9 interface, representing the device to be associated with the texture.
- pSrcFile
- [in] Pointer to a string that specifies the filename. If the compiler settings require Unicode, the data type LPCTSTR resolves to LPCWSTR. Otherwise, the string data type resolves to LPCSTR. See Remarks.
- ppTexture
- [out] Address of a pointer to an IDirect3DTexture9 interface, representing the created texture object.
- D3DXCreateTextureFromFile()
- select和pselect区别
- 一个笔试题目(实现大小端的相互转换,只针对32位的int类型)
- 2010-07-18 17:48 KingMax 4G U盘量产存取错误修复
- 静态导入 -->心德总结
- oracle 修改数据库的字符集编码为UTF-8
- D3DXCreateTextureFromFile()
- Winform 防止双击标题栏改变窗体大小 、移动窗体
- 安装笔记本电脑戒其他类 PC 计算机的参数 --安装Linux注意点
- __thread 和 __typeof__关键字
- VA_X_Setup1849.zip
- Delphi中利用ADOQuery连接excel表格
- Cisco Catalyst 3560-E配置说明(上)
- iPhone App Crash的类型以及解决崩溃办法
- equals与hashcode