NL3D::CGlExtensions Struct Reference

#include <driver_opengl_extension.h>


Detailed Description

The extensions used by NL3D.

Definition at line 63 of file driver_opengl_extension.h.

Public Member Functions

 CGlExtensions ()

Data Fields

bool ARBFragmentProgram
bool ARBMultiTexture
bool ARBTextureCompression
bool ARBTextureCubeMap
bool ATIEnvMapBumpMap
bool ATIFragmentShader
bool ATIMapObjectBuffer
bool ATIVertexArrayObject
bool ATIXTextureEnvCombine3
bool ATIXTextureEnvRoute
bool EXTBlendColor
bool EXTSecondaryColor
bool EXTSeparateSpecularColor
bool EXTTextureCompressionS3TC
bool EXTTextureEnvCombine
bool EXTVertexShader
bool EXTVertexWeighting
sint NbTextureStages
uint NVStateVARWithoutFlush
bool NVTextureEnvCombine4
bool NVTextureShader
bool NVVertexArrayRange
bool NVVertexArrayRange2
uint NVVertexArrayRangeMaxVertex
bool NVVertexProgram
bool NVVertexProgramEmulated
bool Version1_2
bool WGLARBPBuffer
bool WGLARBPixelFormat
bool WGLEXTSwapControl
Disable Hardware feature. False by default. setuped by IDriver
bool DisableHardwareTextureShader
bool DisableHardwareVertexArrayAGP
bool DisableHardwareVertexProgram


Constructor & Destructor Documentation

NL3D::CGlExtensions::CGlExtensions  )  [inline]
 

Definition at line 121 of file driver_opengl_extension.h.

References ARBMultiTexture, ARBTextureCompression, ARBTextureCubeMap, ATIEnvMapBumpMap, ATIFragmentShader, ATIMapObjectBuffer, ATIVertexArrayObject, ATIXTextureEnvCombine3, ATIXTextureEnvRoute, DisableHardwareTextureShader, DisableHardwareVertexArrayAGP, DisableHardwareVertexProgram, EXTBlendColor, EXTSecondaryColor, EXTSeparateSpecularColor, EXTTextureCompressionS3TC, EXTTextureEnvCombine, EXTVertexShader, EXTVertexWeighting, NbTextureStages, NVTextureEnvCombine4, NVTextureShader, NVVertexArrayRange, NVVertexArrayRangeMaxVertex, NVVertexProgram, NVVertexProgramEmulated, Version1_2, WGLARBPBuffer, WGLARBPixelFormat, and WGLEXTSwapControl.

00122         {
00123                 // Fill all false by default.
00124                 Version1_2= false;
00125                 ARBMultiTexture= false;
00126                 NbTextureStages= 1;
00127                 EXTTextureEnvCombine= false;
00128                 ARBTextureCompression= false;
00129                 NVVertexArrayRange= false;
00130                 NVVertexArrayRangeMaxVertex= 0;
00131                 EXTTextureCompressionS3TC= false;
00132                 EXTVertexWeighting= false;
00133                 EXTSeparateSpecularColor= false;
00134                 NVTextureEnvCombine4= false;
00135                 ATIXTextureEnvCombine3= false;
00136                 ATIXTextureEnvRoute= false;
00137                 ARBTextureCubeMap= false;
00138                 NVTextureShader= false;
00139                 NVVertexProgram= false;
00140                 NVVertexProgramEmulated= false;
00141                 EXTSecondaryColor= false;
00142                 WGLARBPBuffer= false;
00143                 WGLARBPixelFormat= false;
00144                 WGLEXTSwapControl= false;
00145                 EXTBlendColor= false;
00146                 ATIVertexArrayObject= false;
00147                 ATIEnvMapBumpMap = false;
00148                 ATIFragmentShader = false;
00149                 ATIVertexArrayObject = false;
00150                 ATIMapObjectBuffer = false;
00151                 EXTVertexShader= false;
00152 
00154                 DisableHardwareVertexProgram= false;
00155                 DisableHardwareVertexArrayAGP= false;
00156                 DisableHardwareTextureShader= false;
00157         };


Field Documentation

bool NL3D::CGlExtensions::ARBFragmentProgram
 

Definition at line 108 of file driver_opengl_extension.h.

Referenced by NL3D::CDriverGL::initFragmentShaders(), NL3D::CDriverGL::isWaterShaderSupported(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::ARBMultiTexture
 

Definition at line 69 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::ARBTextureCompression
 

Definition at line 107 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::ARBTextureCubeMap
 

Definition at line 81 of file driver_opengl_extension.h.

Referenced by NL3D::CDriverGL::activateTexture(), NL3D::CDriverGL::beginSpecularMultiPass(), CGlExtensions(), NL3D::CDriverGL::checkForPerPixelLightingSupport(), NL3D::registerGlExtensions(), and NL3D::CDriverGL::setupTextureEx().

bool NL3D::CGlExtensions::ATIEnvMapBumpMap
 

Definition at line 103 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::getGlTextureFormat(), NL3D::CDriverGL::initEMBM(), NL3D::registerGlExtensions(), NL3D::CDriverGL::setEMBMMatrix(), and NL3D::CDriverGL::supportEMBM().

bool NL3D::CGlExtensions::ATIFragmentShader
 

Definition at line 104 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::initFragmentShaders(), NL3D::CDriverGL::isWaterShaderSupported(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::ATIMapObjectBuffer
 

Definition at line 101 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::ATIVertexArrayObject
 

Definition at line 100 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::ATIXTextureEnvCombine3
 

Definition at line 102 of file driver_opengl_extension.h.

Referenced by NL3D::CDriverGL::beginSpecularMultiPass(), CGlExtensions(), NL3D::CDriverGL::checkForPerPixelLightingSupport(), NL3D::CDriverGL::computeLightMapInfos(), NL3D::registerGlExtensions(), NL3D::CDriverGL::setupLightMapPass(), and NL3D::CDriverGL::setupSpecularPass().

bool NL3D::CGlExtensions::ATIXTextureEnvRoute
 

Definition at line 105 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::registerGlExtensions(), and NL3D::CDriverGL::supportCloudRenderSinglePass().

bool NL3D::CGlExtensions::DisableHardwareTextureShader
 

Definition at line 116 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::disableHardwareTextureShader(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::DisableHardwareVertexArrayAGP
 

Definition at line 115 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::disableHardwareVertexArrayAGP(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::DisableHardwareVertexProgram
 

Definition at line 114 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::disableHardwareVertexProgram(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::EXTBlendColor
 

Definition at line 88 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::registerGlExtensions(), NL3D::CDriverGL::setBlendConstantColor(), and NL3D::CDriverGL::supportBlendConstantColor().

bool NL3D::CGlExtensions::EXTSecondaryColor
 

Definition at line 87 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::EXTSeparateSpecularColor
 

Definition at line 79 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::EXTTextureCompressionS3TC
 

Definition at line 77 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::getGlTextureFormat(), NL3D::registerGlExtensions(), NL3D::CDriverGL::setupTextureEx(), and NL3D::CDriverGL::uploadTexture().

bool NL3D::CGlExtensions::EXTTextureEnvCombine
 

Definition at line 71 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::forceActivateTexEnvMode(), NL3D::registerGlExtensions(), and NL3D::CDriverGL::supportCloudRenderSinglePass().

bool NL3D::CGlExtensions::EXTVertexShader
 

Definition at line 83 of file driver_opengl_extension.h.

Referenced by NL3D::CDriverGL::activeVertexProgram(), CGlExtensions(), NL3D::CDriverGL::checkForPerPixelLightingSupport(), NL3D::CVertexProgamDrvInfosGL::CVertexProgamDrvInfosGL(), NL3D::CDriverGL::isVertexProgramSupported(), NL3D::CDriverGL::isWaterShaderSupported(), NL3D::registerGlExtensions(), NL3D::CDriverGL::setConstant(), NL3D::CDriverGL::setConstantMatrix(), NL3D::CDriverGL::setupFog(), NL3D::CDriverGL::setupGlArrays(), and NL3D::CDriverGL::setupWaterPassARB().

bool NL3D::CGlExtensions::EXTVertexWeighting
 

Definition at line 78 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), and NL3D::registerGlExtensions().

sint NL3D::CGlExtensions::NbTextureStages
 

Definition at line 70 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::checkForPerPixelLightingSupport(), NL3D::CDriverGL::inlGetNumTextStages(), and NL3D::registerGlExtensions().

uint NL3D::CGlExtensions::NVStateVARWithoutFlush
 

Definition at line 92 of file driver_opengl_extension.h.

Referenced by NL3D::CVertexArrayRangeNVidia::disable(), NL3D::CVertexArrayRangeNVidia::enable(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::NVTextureEnvCombine4
 

Definition at line 80 of file driver_opengl_extension.h.

Referenced by NL3D::CDriverGL::beginSpecularMultiPass(), CGlExtensions(), NL3D::CDriverGL::checkForPerPixelLightingSupport(), NL3D::CDriverGL::computeLightMapInfos(), NL3D::registerGlExtensions(), NL3D::CDriverGL::setupCloudPass(), NL3D::CDriverGL::setupLightMapPass(), NL3D::CDriverGL::setupPPLNoSpecPass(), NL3D::CDriverGL::setupPPLPass(), NL3D::CDriverGL::setupSpecularPass(), and NL3D::CDriverGL::supportCloudRenderSinglePass().

bool NL3D::CGlExtensions::NVTextureShader
 

Definition at line 84 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::endWaterMultiPass(), NL3D::CDriverGL::getGlTextureFormat(), NL3D::CDriverGL::isTextureAddrModeSupported(), NL3D::CDriverGL::isWaterShaderSupported(), NL3D::registerGlExtensions(), NL3D::CDriverGL::resetTextureShaders(), NL3D::CDriverGL::setupMaterial(), NL3D::CDriverGL::setupWaterPass(), and NL3D::CDriverGL::supportTextureShaders().

bool NL3D::CGlExtensions::NVVertexArrayRange
 

Definition at line 75 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::NVVertexArrayRange2
 

Definition at line 90 of file driver_opengl_extension.h.

Referenced by NL3D::registerGlExtensions().

uint NL3D::CGlExtensions::NVVertexArrayRangeMaxVertex
 

Definition at line 76 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::NVVertexProgram
 

Definition at line 82 of file driver_opengl_extension.h.

Referenced by NL3D::CDriverGL::activeVertexProgram(), CGlExtensions(), NL3D::CDriverGL::checkForPerPixelLightingSupport(), NL3D::CVertexProgamDrvInfosGL::CVertexProgamDrvInfosGL(), NL3D::CDriverGL::enableVertexProgramDoubleSidedColor(), NL3D::CDriverGL::isVertexProgramSupported(), NL3D::CDriverGL::isWaterShaderSupported(), NL3D::registerGlExtensions(), NL3D::CDriverGL::setConstant(), NL3D::CDriverGL::setConstantMatrix(), NL3D::CDriverGL::setupFog(), NL3D::CDriverGL::setupGlArrays(), and NL3D::CDriverGL::supportVertexProgramDoubleSidedColor().

bool NL3D::CGlExtensions::NVVertexProgramEmulated
 

Definition at line 86 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::isVertexProgramEmulated(), and NL3D::registerGlExtensions().

bool NL3D::CGlExtensions::Version1_2
 

Definition at line 66 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::registerGlExtensions(), and NL3D::translateWrapToGl().

bool NL3D::CGlExtensions::WGLARBPBuffer
 

Definition at line 95 of file driver_opengl_extension.h.

Referenced by CGlExtensions().

bool NL3D::CGlExtensions::WGLARBPixelFormat
 

Definition at line 96 of file driver_opengl_extension.h.

Referenced by CGlExtensions().

bool NL3D::CGlExtensions::WGLEXTSwapControl
 

Definition at line 97 of file driver_opengl_extension.h.

Referenced by CGlExtensions(), NL3D::CDriverGL::getSwapVBLInterval(), and NL3D::CDriverGL::setSwapVBLInterval().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 06:47:03 2004 for NeL by doxygen 1.3.6