![]() |
TAPs 0.7.7.3
|
00001 /****************************************************************************** 00002 STAPsGLSupport.hpp 00003 ******************************************************************************/ 00007 /****************************************************************************** 00008 SUKITTI PUNAK (09/09/2010) 00009 UPDATE (09/09/2010) 00010 ******************************************************************************/ 00011 #ifndef STAPs_GL_SUPPORT_HPP 00012 #define STAPs_GL_SUPPORT_HPP 00013 00014 //#include "../Core/TAPsStdLib.hpp" 00015 #include "STAPsGLSLSupport.hpp" 00016 00017 BEGIN_NAMESPACE_TAPs__OpenGL 00018 //============================================================================= 00019 class GLSupport { 00020 //============================================================================= 00021 public: 00022 // Member Functions ------------------------------------------------------- 00024 friend std::ostream & operator<< ( std::ostream &output, GLSupport const &obj ) 00025 { 00026 output << obj.StrInfo(); 00027 return output; 00028 } 00029 //------------------------------------------------------------------------- 00031 GLSupport (); 00033 //GLSupport ( GLSupport<T> const &orig ); 00035 virtual ~GLSupport (); 00036 //------------------------------------------------------------------------- 00038 virtual std::string StrInfo () const; 00039 //------------------------------------------------------------------------- 00041 //inline GLSupport<T> & operator= ( GLSupport<T> const &orig ); 00042 //------------------------------------------------------------------------- 00043 00044 // Data Members ----------------------------------------------------------- 00045 GLuint VAO; 00046 GLuint VBO_Positions; 00047 GLuint VBO_Indices; 00048 //============================================================================= 00049 protected: 00050 // Member Functions ------------------------------------------------------- 00051 // Data Members ----------------------------------------------------------- 00052 00053 //============================================================================= 00054 private: 00055 // Member Functions ------------------------------------------------------- 00056 // Data Members ----------------------------------------------------------- 00057 //============================================================================= 00058 }; // END CLASS GLSupport 00059 //============================================================================= 00060 END_NAMESPACE_TAPs__OpenGL 00061 //----------------------------------------------------------------------------- 00062 // Include definition if TAPs_USE_EXPORT is not defined 00063 #if !defined( TAPs_USE_EXPORT ) 00064 #include "STAPsGLSupport.cpp" 00065 #endif 00066 //----------------------------------------------------------------------------- 00067 #endif 00068 //34567890123456789012345678901234567890123456789012345678901234567890123456789 00069 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----