utils.h

来自「load .x file to application」· C头文件 代码 · 共 22 行

H
22
字号
#ifndef UTILS_H
#define UTILS_H

#include <windows.h>
#include <d3dx9.h>

//--------------------------------------------------------------------------------------
// Returns the DirectX SDK path, as stored in the system registry
// during the SDK install. These two files are ripped directly from the the
// DX utility code base that comes with the DX9c SDK (Just changed them to ASCII). 
// Ill need this so that I wont have to include media if I used them straight from 
// the DirectX SDK media folder.
//--------------------------------------------------------------------------------------
bool DXUTGetDXSDKMediaPathCch( CHAR* strDest, int cchDest );
bool DXUTFindDXSDKMediaFileCch( CHAR* strDestPath, int cchDest, LPCSTR strFilename );


#endif


//////////////////////////////////////////////////////////////////////////////////////////////
// This file is copyright 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?