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/a03495.html | 544 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 544 insertions(+) create mode 100644 docs/doxygen/nel/a03495.html (limited to 'docs/doxygen/nel/a03495.html') diff --git a/docs/doxygen/nel/a03495.html b/docs/doxygen/nel/a03495.html new file mode 100644 index 00000000..4d190195 --- /dev/null +++ b/docs/doxygen/nel/a03495.html @@ -0,0 +1,544 @@ + + +NeL: NL3D::CTextureDrvInfosGL class Reference + + + +
+

NL3D::CTextureDrvInfosGL Class Reference

#include <driver_opengl.h> +

+

Inheritance diagram for NL3D::CTextureDrvInfosGL: +

+ +NL3D::ITextureDrvInfos +NLMISC::CRefCount + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CTextureDrvInfosGL (IDriver *drv, ItTexDrvInfoPtrMap it, CDriverGL *drvGl)
const sintgetRefCount () const
 ~CTextureDrvInfosGL ()

Data Fields

CDriverGL_Driver
bool Compressed
sint crefs
GLuint ID
ITexture::TMagFilter MagFilter
ITexture::TMinFilter MinFilter
bool MipMap
CPtrInfo * pinfo
uint32 TextureMemory
ITexture::TWrapMode WrapS
ITexture::TWrapMode WrapT

Static Public Attributes

CPtrInfo NullPtrInfo

Friends

struct CPtrInfo
+

Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
NL3D::CTextureDrvInfosGL::CTextureDrvInfosGL IDriver drv,
ItTexDrvInfoPtrMap  it,
CDriverGL drvGl
+
+ + + + + +
+   + + +

+ +

+Definition at line 60 of file driver_opengl_texture.cpp. +

+References Compressed, ID, NL3D::ItTexDrvInfoPtrMap, MipMap, and TextureMemory. +

+

00060                                                                                             : ITextureDrvInfos(drv, it)
+00061 {
+00062         // The id is auto created here.
+00063         glGenTextures(1,&ID);
+00064         
+00065         Compressed= false;
+00066         MipMap= false;
+00067         TextureMemory= 0;
+00068 
+00069         // Nb: at Driver dtor, all tex infos are deleted, so _Driver is always valid.
+00070         _Driver= drvGl;
+00071 }
+
+

+ + + + +
+ + + + + + + + + +
NL3D::CTextureDrvInfosGL::~CTextureDrvInfosGL  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 73 of file driver_opengl_texture.cpp. +

+References NL3D::CDriverGL::_AllocatedTextureMemory, NL3D::CDriverGL::_TextureUsed, ID, and TextureMemory. +

+

00074 {
+00075         // The id is auto deleted here.
+00076         glDeleteTextures(1,&ID);
+00077 
+00078         // release profiling texture mem.
+00079         _Driver->_AllocatedTextureMemory-= TextureMemory;
+00080 
+00081         // release in TextureUsed.
+00082         _Driver->_TextureUsed.erase (this);
+00083 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
const sint& NLMISC::CRefCount::getRefCount  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+ +

+Definition at line 70 of file smart_ptr.h. +

+References NLMISC::CRefCount::crefs, and sint. +

+

00071         {
+00072                 return  crefs;
+00073         }
+
+


Friends And Related Function Documentation

+

+ + + + +
+ + +
friend struct CPtrInfo [friend, inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 67 of file smart_ptr.h.

+


Field Documentation

+

+ + + + +
+ + +
CDriverGL* NL3D::CTextureDrvInfosGL::_Driver +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::ITextureDrvInfos. +

+Definition at line 117 of file driver_opengl.h.

+

+ + + + +
+ + +
bool NL3D::CTextureDrvInfosGL::Compressed +
+
+ + + + + +
+   + + +

+ +

+Definition at line 110 of file driver_opengl.h. +

+Referenced by CTextureDrvInfosGL(), NL3D::CDriverGL::setupTextureEx(), and NL3D::CDriverGL::swapTextureHandle().

+

+ + + + +
+ + +
sint NLMISC::CRefCount::crefs [mutable, inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 79 of file smart_ptr.h. +

+Referenced by NLMISC::CRefCount::CRefCount(), NLMISC::CRefCount::getRefCount(), and NLMISC::CRefCount::~CRefCount().

+

+ + + + +
+ + +
GLuint NL3D::CTextureDrvInfosGL::ID +
+
+ + + + + +
+   + + +

+ +

+Definition at line 108 of file driver_opengl.h. +

+Referenced by NL3D::CDriverGL::copyFrameBufferToTexture(), CTextureDrvInfosGL(), NL3D::CDriverGL::getTextureHandle(), NL3D::CDriverGL::setupTextureEx(), NL3D::CDriverGL::swapTextureHandle(), NL3D::CDriverGL::uploadTexture(), and ~CTextureDrvInfosGL().

+

+ + + + +
+ + +
ITexture::TMagFilter NL3D::CTextureDrvInfosGL::MagFilter +
+
+ + + + + +
+   + + +

+ +

+Definition at line 123 of file driver_opengl.h. +

+Referenced by NL3D::CDriverGL::setupTextureEx(), NL3D::CDriverGL::swapTextureHandle(), and NL3D::translateMagFilterToGl().

+

+ + + + +
+ + +
ITexture::TMinFilter NL3D::CTextureDrvInfosGL::MinFilter +
+
+ + + + + +
+   + + +

+ +

+Definition at line 124 of file driver_opengl.h. +

+Referenced by NL3D::CDriverGL::setupTextureEx(), NL3D::CDriverGL::swapTextureHandle(), and NL3D::translateMinFilterToGl().

+

+ + + + +
+ + +
bool NL3D::CTextureDrvInfosGL::MipMap +
+
+ + + + + +
+   + + +

+ +

+Definition at line 112 of file driver_opengl.h. +

+Referenced by CTextureDrvInfosGL(), NL3D::CDriverGL::setupTextureEx(), NL3D::CDriverGL::swapTextureHandle(), and NL3D::translateMinFilterToGl().

+

+ + + + +
+ + +
CRefCount::CPtrInfo NLMISC::CRefCount::NullPtrInfo [static, inherited] +
+
+ + + + + +
+   + + +

+ +

+Referenced by NLMISC::CRefCount::CRefCount().

+

+ + + + +
+ + +
CPtrInfo* NLMISC::CRefCount::pinfo [mutable, inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 80 of file smart_ptr.h. +

+Referenced by NLMISC::CRefCount::CRefCount(), and NLMISC::CRefCount::~CRefCount().

+

+ + + + +
+ + +
uint32 NL3D::CTextureDrvInfosGL::TextureMemory +
+
+ + + + + +
+   + + +

+ +

+Definition at line 115 of file driver_opengl.h. +

+Referenced by CTextureDrvInfosGL(), NL3D::CDriverGL::getUsedTextureMemory(), NL3D::CDriverGL::setupTextureEx(), NL3D::CDriverGL::swapTextureHandle(), and ~CTextureDrvInfosGL().

+

+ + + + +
+ + +
ITexture::TWrapMode NL3D::CTextureDrvInfosGL::WrapS +
+
+ + + + + +
+   + + +

+ +

+Definition at line 121 of file driver_opengl.h. +

+Referenced by NL3D::CDriverGL::setupTextureEx(), and NL3D::CDriverGL::swapTextureHandle().

+

+ + + + +
+ + +
ITexture::TWrapMode NL3D::CTextureDrvInfosGL::WrapT +
+
+ + + + + +
+   + + +

+ +

+Definition at line 122 of file driver_opengl.h. +

+Referenced by NL3D::CDriverGL::setupTextureEx(), and NL3D::CDriverGL::swapTextureHandle().

+


The documentation for this class was generated from the following files: +
Generated on Tue Mar 16 07:54:58 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1