From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/vertex__program_8h-source.html | 150 ++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/doxygen/nel/vertex__program_8h-source.html (limited to 'docs/doxygen/nel/vertex__program_8h-source.html') diff --git a/docs/doxygen/nel/vertex__program_8h-source.html b/docs/doxygen/nel/vertex__program_8h-source.html new file mode 100644 index 00000000..4550e5e1 --- /dev/null +++ b/docs/doxygen/nel/vertex__program_8h-source.html @@ -0,0 +1,150 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

vertex_program.h

Go to the documentation of this file.
00001 
+00007 /* Copyright, 2000, 2001 Nevrax Ltd.
+00008  *
+00009  * This file is part of NEVRAX NEL.
+00010  * NEVRAX NEL is free software; you can redistribute it and/or modify
+00011  * it under the terms of the GNU General Public License as published by
+00012  * the Free Software Foundation; either version 2, or (at your option)
+00013  * any later version.
+00014 
+00015  * NEVRAX NEL is distributed in the hope that it will be useful, but
+00016  * WITHOUT ANY WARRANTY; without even the implied warranty of
+00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+00018  * General Public License for more details.
+00019 
+00020  * You should have received a copy of the GNU General Public License
+00021  * along with NEVRAX NEL; see the file COPYING. If not, write to the
+00022  * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+00023  * MA 02111-1307, USA.
+00024  */
+00025 
+00026 #ifndef NL_VERTEX_PROGRAM_H
+00027 #define NL_VERTEX_PROGRAM_H
+00028 
+00029 #include "nel/misc/types_nl.h"
+00030 #include "nel/misc/smart_ptr.h"
+00031 
+00032 #include <list>
+00033 
+00034 
+00035 namespace NL3D {
+00036 
+00037 // List typedef.
+00038 class   IDriver;
+00039 class   IVertexProgramDrvInfos;
+00040 typedef std::list<IVertexProgramDrvInfos*>      TVtxPrgDrvInfoPtrList;
+00041 typedef TVtxPrgDrvInfoPtrList::iterator         ItVtxPrgDrvInfoPtrList;
+00042 
+00043 // Class for interaction of vertex program with Driver.
+00044 // IVertexProgramDrvInfos represent the real data of the vertex program, stored into the driver (eg: just a GLint for opengl).
+00045 class IVertexProgramDrvInfos : public NLMISC::CRefCount
+00046 {
+00047 private:
+00048         IDriver                                 *_Driver;
+00049         ItVtxPrgDrvInfoPtrList  _DriverIterator;
+00050 
+00051 public:
+00052         IVertexProgramDrvInfos (IDriver *drv, ItVtxPrgDrvInfoPtrList it);
+00053         // The virtual dtor is important.
+00054         virtual ~IVertexProgramDrvInfos(void);
+00055 };
+00056 
+00057 
+00092 class CVertexProgram : public NLMISC::CRefCount
+00093 {
+00094 public:
+00095 
+00097         CVertexProgram (const char* program);
+00098 
+00100         virtual ~CVertexProgram ();
+00101 
+00103         const std::string&      getProgram () const { return _Program; };
+00104 
+00105 private:
+00107         std::string                                                                     _Program;
+00108 
+00109 public:
+00111         NLMISC::CRefPtr<IVertexProgramDrvInfos>         _DrvInfo;
+00112 };
+00113 
+00114 
+00115 } // NL3D
+00116 
+00117 
+00118 #endif // NL_VERTEX_PROGRAM_H
+00119 
+00120 /* End of vertex_program.h */
+
+ + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1