#include <driver_opengl.h>
Inheritance diagram for NL3D::CVertexProgamDrvInfosGL:
Public Member Functions | |
CVertexProgamDrvInfosGL (CDriverGL *drv, ItVtxPrgDrvInfoPtrList it) | |
const sint & | getRefCount () const |
Data Fields | |
sint | crefs |
GLuint | ID |
CPtrInfo * | pinfo |
uint16 | UsedVertexComponents |
GLuint | Variants [CDriverGL::EVSNumVariants] |
Static Public Attributes | |
CPtrInfo | NullPtrInfo |
Friends | |
struct | CPtrInfo |
|
Definition at line 45 of file driver_opengl_vertex_program.cpp. References NL3D::CDriverGL::_Extensions, NL3D::CGlExtensions::EXTVertexShader, NL3D::ItVtxPrgDrvInfoPtrList, nglGenProgramsNV, nglGenVertexShadersEXT, nlassert, and NL3D::CGlExtensions::NVVertexProgram.
00045 : IVertexProgramDrvInfos (drv, it) 00046 { 00047 // Extension must exist 00048 nlassert (drv->_Extensions.NVVertexProgram 00049 || drv->_Extensions.EXTVertexShader 00050 ); 00051 00052 if (drv->_Extensions.NVVertexProgram) // nvidia implemntation 00053 { 00054 // Generate a program 00055 nglGenProgramsNV (1, &ID); 00056 } 00057 else 00058 { 00059 ID = nglGenVertexShadersEXT(1); 00060 } 00061 } |
|
Definition at line 70 of file smart_ptr.h. References NLMISC::CRefCount::crefs, and sint.
00071 { 00072 return crefs; 00073 } |
|
Definition at line 67 of file smart_ptr.h. |
|
Definition at line 79 of file smart_ptr.h. Referenced by NLMISC::CRefCount::CRefCount(), NLMISC::CRefCount::getRefCount(), and NLMISC::CRefCount::~CRefCount(). |
|
Definition at line 1091 of file driver_opengl.h. Referenced by NL3D::CDriverGL::activeEXTVertexShader(), and NL3D::CDriverGL::activeNVVertexProgram(). |
|
Referenced by NLMISC::CRefCount::CRefCount(). |
|
Definition at line 80 of file smart_ptr.h. Referenced by NLMISC::CRefCount::CRefCount(), and NLMISC::CRefCount::~CRefCount(). |
|
EXTVertexShader specific Used input registers. This allow to activate only the gl arrays that are needed by a given shader. Definition at line 1101 of file driver_opengl.h. Referenced by NL3D::CDriverGL::setupGlArraysForEXTVertexShader(). |
|
EXTVertexShader specific handle of allocated variants Definition at line 1096 of file driver_opengl.h. Referenced by NL3D::CDriverGL::setupGlArraysForEXTVertexShader(), and NL3D::CDriverGL::toggleGlArraysForEXTVertexShader(). |