"L. Spiro Engine"

F:/My Projects/LSEngine/Modules/LSGraphicsLib/Src/DirectX/LSGDirectX9CubeTexture.h

00001 
00016 #ifndef __LSG_DIRECTX9CUBETEXTURE_H__
00017 #define __LSG_DIRECTX9CUBETEXTURE_H__
00018 
00019 #include "../LSGGraphicsLib.h"
00020 #include "../Texture/LSGTextureBase.h"
00021 #include "LSGDirectX9StandardTexture.h"
00022 
00023 #ifdef LSG_DX9
00024 
00025 namespace lsg {
00026 
00033         class CDirectX9CubeTexture : public CTextureBase, public CDirectX9LosableResource {
00034         public :
00035                 // == Various constructors.
00036                 LSE_CALLCTOR                                                    CDirectX9CubeTexture();
00037                 virtual LSE_CALLCTOR                                    ~CDirectX9CubeTexture();
00038 
00039 
00040                 // == Functions.
00044                 LSVOID LSE_CALL                                                 Reset();
00045 
00049                 virtual LSVOID LSE_CALL                                 OnDeviceLost();
00050 
00056                 virtual LSBOOL LSE_CALL                                 OnDeviceReset();
00057 
00058         protected :
00059                 // == Members.
00063                 CImage                                                                  m_iFaces[6];
00064 
00068                 IDirect3DCubeTexture9 *                                 m_pd3dctTexture;
00069 
00070 
00071                 // == Functions.
00075                 LSVOID LSE_CALL                                                 ResetApi();
00076 
00082                 LSBOOL LSE_CALL                                                 CreateApiTexture();
00083 
00084 
00085         private :
00086                 typedef CTextureBase                                    Parent;
00087         };
00088 
00089 
00090         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00091         // DEFINITIONS
00092         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00093         
00094 }       // namespace lsg
00095 
00096 #endif  // #ifdef LSG_DX9
00097 
00098 #endif  // __LSG_DIRECTX9CUBETEXTURE_H__
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator