"L. Spiro Engine"

F:/My Projects/LSEngine/Modules/LSGraphicsLib/Src/OpenGL/LSGOpenGlFloatTexture.h

00001 
00016 #ifndef __LSG_OPENGLFLOATTEXTURE_H__
00017 #define __LSG_OPENGLFLOATTEXTURE_H__
00018 
00019 #include "../LSGGraphicsLib.h"
00020 #include "../Texture/LSGTextureBase.h"
00021 #include "LSGOpenGlStandardTexture.h"
00022 
00023 #ifdef LSG_OGL
00024 
00025 namespace lsg {
00026 
00033         class COpenGlFloatTexture : public CTextureBase {
00034         public :
00035                 // == Various constructors.
00036                 LSE_CALLCTOR                                                    COpenGlFloatTexture();
00037                 virtual LSE_CALLCTOR                                    ~COpenGlFloatTexture();
00038 
00039 
00040                 // == Functions.
00044                 virtual LSVOID LSE_CALL                                 Reset();
00045 
00052                 virtual LSBOOL LSE_CALL                                 Activate( LSUINT32 _ui32Slot );
00053 
00057                 LSVOID LSE_CALL                                                 DeActivate();
00058 
00059         protected :
00060                 // == Members.
00064                 GLuint                                                                  m_uiDepthId;
00065 
00066 
00067                 // == Functions.
00073                 LSBOOL LSE_CALL                                                 CreateApiTexture();
00074 
00078                 LSVOID LSE_CALL                                                 ResetApi();
00079 
00085                 virtual LSBOOL LSE_CALL                                 SetAsDepthStencilRenderTarget() const;
00086 
00090                 LSVOID LSE_CALL                                                 EndAsRenderTarget() const;
00091 
00092 
00093         private :
00094                 typedef CTextureBase                                    Parent;
00095         };
00096 
00097 
00098         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00099         // DEFINITIONS
00100         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00101         
00102 
00103 }       // namespace lsg
00104 
00105 #endif  // #ifdef LSG_OGL
00106 
00107 #endif  // __LSG_OPENGLFLOATTEXTURE_H__
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator