Compress.h
资源名称:DXGuide.zip [点击查看]
上传用户:wymy58
上传日期:2007-01-07
资源大小:2086k
文件大小:1k
源码类别:
DirextX编程
开发平台:
Visual C++
- // Compress.h : main header file for the COMPRESS application.
- #ifndef _DXGUIDE_COMPRESS__H
- #define _DXGUIDE_COMPRESS__H
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
- #include "resource.h"
- class CCompressApp : public CDirectXApp
- {
- public:
- CCompressApp(void);
- virtual ~CCompressApp();
- public:
- CD3DDevice* m_pD3DDevice;
- CD3DMaterial* m_pD3DMaterial;
- // add your data here !
- CD3DCube* m_pCube;
- CD3DDirectionalLight* m_pLight;
- CD3DTexture* m_pTexture; // The compressed DDS texture
- public:
- // add your function here !
- bool ChangeTexture(void);
- public:
- virtual bool GetDXInitSettings(void);
- virtual bool InitDXObjects(void);
- virtual bool DestroyDXObjects(void);
- virtual bool UpdateFrame(void);
- public:
- // ----
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCompressApp)
- //}}AFX_VIRTUAL
- // Implementation
- //{{AFX_MSG(CCompressApp)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #endif // _DXGUIDE_COMPRESS__H