"L. Spiro Engine"

F:/My Projects/LSEngine/Modules/LSTerrainLib/Src/GeoClipmap/LSTGeoClipmapXxYGrid.h

00001 
00016 #ifndef __LST_GEOCLIPMAPXXYGRID_H__
00017 #define __LST_GEOCLIPMAPXXYGRID_H__
00018 
00019 #include "../LSTTerrainLib.h"
00020 #include "IndexBuffer/LSGIndexBuffer.h"
00021 #include "VertexBuffer/LSGVertexBuffer.h"
00022 
00023 namespace lst {
00024 
00031         class CGeoClipmapXxYGrid {
00032                 // All is public.  This class has no secrets.
00033         public :
00034                 // == Various constructors.
00035                 LSE_CALLCTOR                                    CGeoClipmapXxYGrid();
00036                 LSE_CALLCTOR                                    ~CGeoClipmapXxYGrid();
00037 
00038 
00039                 // == Functions.
00043                 LSVOID LSE_CALL                                 Reset();
00044 
00053                 LSBOOL LSE_CALL                                 SetGridSize( LSUINT32 _ui32X, LSUINT32 _ui32Y, CAllocator * _paAllocator = NULL );
00054 
00060                 const CIndexBuffer & LSE_CALL   DebugGetIndexBuffer() const;
00061 
00067                 const CVertexBuffer & LSE_CALL  DebugGetVertexBuffer() const;
00068 
00069         protected :
00070                 // == Members.
00074                 LSUINT16                                                m_ui16PrevGridSizeX;
00075 
00079                 LSUINT16                                                m_ui16PrevGridSizeY;
00080 
00084                 CIndexBuffer                                    m_ibIndexBuffer;
00085 
00089                 CVertexBuffer                                   m_vbVertexBuffer;
00090         };
00091 
00092 
00093         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00094         // DEFINITIONS
00095         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00096 
00097 }       // namespace lst
00098 
00099 #endif  // __LST_GEOCLIPMAPXXYGRID_H__
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator