#include <texture.h>
Public Member Functions | |
| void | VerifyId () | 
| void | Config () | 
| void | ConfigPixelStore () | 
| GLubyte * | ConfigSize (int _xSize, int _ySize, BOOL allocate, BOOL resizeIt) | 
| void | SetCoord (double x, double y) | 
| double | GetXCoord (double x) | 
| double | GetYCoord (double y) | 
| BOOL | Delete () | 
| Destruction d'une texture.   | |
| Texture () | |
| ~Texture () | |
| void | Zero () | 
| void | operator= (Texture &src) | 
| operator GLuint () const | |
| BOOL | FromNull () | 
| BOOL | FromFile (char *_name, char *fileName, BOOL resizeIt=FALSE) | 
| BOOL | FromBitmap (char *_name, char *fileName, BOOL resizeIt=FALSE) | 
| version win32, depreciated et non cross-compilable   | |
| BOOL | FromText (char *_name, char *text, COLORREF color, COLORREF background, int xFormat=0, int yFormat=0) | 
| BOOL | Begin (char *_name, int deltaX, int deltaY) | 
| BOOL | SetPixel (int x, int y, byte r, byte g, byte b) | 
| Positione un pixel, BeginCustom() dois deja etre appelé.   | |
| BOOL | GetPixel (int x, int y, byte &r, byte &g, byte &b) | 
| Donne un pixel, BeginCustom() dois deja etre appelé.   | |
| BOOL | AddText (char *text, COLORREF color, COLORREF background, int xFormat=0, int yFormat=0) | 
| Ajout du text. !Attention cela efface tout ce qui avais avant.   | |
| BOOL | End () | 
Static Public Member Functions | |
| Texture * | Find (char *name) | 
| Recherche une texture par son nom.   | |
| BOOL | Delete (Texture *texture) | 
Public Attributes | |
| GLint | id | 
| MyString | name | 
| MyString | source | 
| BOOL | useResizing | 
| GLdouble | xScale | 
| GLdouble | yScale | 
| int | xSize | 
| int | ySize | 
| TextureTarget | target | 
| TextureWrap | wrapT | 
| TextureWrap | wrapS | 
| TextureFilter | magFilter | 
| TextureFilter | minFilter | 
| TextureEnvMode | envMode | 
| Color | envColor | 
| Color | border | 
Static Public Attributes | |
| MyList< Texture * > | list | 
Les differentes façon de les generer sont:
Definition at line 63 of file texture.h.
      
  | 
  
| 
 
 Definition at line 128 of file texture.cpp. References Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 133 of file texture.cpp. References GLuint().  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 Ajout du text. !Attention cela efface tout ce qui avais avant. 
 
 Definition at line 320 of file texture.cpp. References BOOL(), format, HDC(), res, xSize, and ySize. Referenced by FromText().  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 270 of file texture.cpp. References BOOL(), and ConfigSize(). Referenced by FromBitmap(), FromNull(), and FromText().  | 
  
      
  | 
  
| 
 
 Definition at line 36 of file texture.cpp. References border, envColor, envMode, Color::isEnable, magFilter, minFilter, target, VerifyId(), wrapS, and wrapT. Referenced by VerifyId().  | 
  
      
  | 
  
| 
 
 Definition at line 69 of file texture.cpp. Referenced by ConfigSize().  | 
  
      
  | 
  ||||||||||||||||||||
| 
 
 Definition at line 78 of file texture.cpp. References ConfigPixelStore(), GetNearExp2(), useResizing, VerifyId(), xScale, xSize, yScale, and ySize. Referenced by Begin(), and FromFile().  | 
  
      
  | 
  
| 
 Destruction d'une texture. 
 Definition at line 51 of file texture.cpp. References BOOL().  | 
  
      
  | 
  
| 
 
 Definition at line 56 of file texture.cpp. References BOOL(), MyListIterator< Texture * >::GetElem(), MyList< Texture * >::i, MyListIterator< Texture * >::More(), and MyListIterator< Texture * >::Supr(). Referenced by TextTexture::RefreshText().  | 
  
      
  | 
  
| 
 
 Definition at line 277 of file texture.cpp. References BOOL(), xSize, and ySize. Referenced by FromBitmap(), FromNull(), and FromText().  | 
  
      
  | 
  
| 
 Recherche une texture par son nom. 
 Definition at line 259 of file texture.cpp. References MyListIterator< Texture * >::GetElem(), MyList< Texture * >::i, MyListIterator< Texture * >::More(), and name.  | 
  
      
  | 
  ||||||||||||||||
| 
 version win32, depreciated et non cross-compilable 
 Definition at line 389 of file texture.cpp. References Begin(), BOOL(), End(), source, xSize, and ySize. Referenced by Calculator::Create().  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 188 of file texture.cpp. References BOOL(), ConfigSize(), data, source, useResizing, xScale, xSize, yScale, and ySize. Referenced by Tutorial::ApplicationDemo::OnSelectBkg().  | 
  
      
  | 
  
| 
 
 Definition at line 179 of file texture.cpp. References Begin(), BOOL(), End(), and SetPixel().  | 
  
      
  | 
  ||||||||||||||||||||||||||||
| 
 
 Definition at line 379 of file texture.cpp. References AddText(), Begin(), BOOL(), End(), and source. Referenced by TextTexture::RefreshText().  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 Donne un pixel, BeginCustom() dois deja etre appelé. 
 Definition at line 304 of file texture.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 109 of file texture.cpp. References useResizing, and xScale.  | 
  
      
  | 
  
| 
 
 Definition at line 115 of file texture.cpp. References useResizing, and yScale.  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
 Definition at line 159 of file texture.cpp. References border, envColor, envMode, magFilter, minFilter, source, src, target, useResizing, wrapS, wrapT, xScale, xSize, yScale, and ySize.  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 121 of file texture.cpp. References useResizing, xScale, and yScale. Referenced by Face::Draw().  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 Positione un pixel, BeginCustom() dois deja etre appelé. 
 Definition at line 289 of file texture.cpp. References BOOL(), xSize, and ySize. Referenced by FromNull().  | 
  
      
  | 
  
| 
 
 Definition at line 23 of file texture.cpp. References Config(), GLuint(), MyList< Texture * >::i, and target. Referenced by Config(), and ConfigSize().  | 
  
      
  | 
  
| 
 
 Definition at line 140 of file texture.cpp. References border, envColor, envMode, linear, magFilter, minFilter, modulate, repeat, target, texture2D, useResizing, wrapS, wrapT, xScale, yScale, and Color::Zero(). Referenced by Texture().  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
 Definition at line 80 of file texture.h. Referenced by Config(), operator=(), and Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 79 of file texture.h. Referenced by Config(), operator=(), and Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 70 of file texture.h. Referenced by Face::Draw(), and ValueEditors::MakeElemFaceStruct().  | 
  
      
  | 
  
| 
 
 Definition at line 25 of file texture_instance.h.  | 
  
      
  | 
  
| 
 
 Definition at line 78 of file texture.h. Referenced by Config(), operator=(), and Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 78 of file texture.h. Referenced by Config(), operator=(), and Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 71 of file texture.h. Referenced by Find(), and ValueEditors::MakeElemFaceStruct().  | 
  
      
  | 
  
| 
 
 Definition at line 72 of file texture.h. Referenced by FromBitmap(), FromFile(), FromText(), and operator=().  | 
  
      
  | 
  
| 
 
 Definition at line 76 of file texture.h. Referenced by Config(), operator=(), VerifyId(), and Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 73 of file texture.h. Referenced by ConfigSize(), FromFile(), GetXCoord(), GetYCoord(), operator=(), SetCoord(), and Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 77 of file texture.h. Referenced by Config(), operator=(), and Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 77 of file texture.h. Referenced by Config(), operator=(), and Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 74 of file texture.h. Referenced by ConfigSize(), FromFile(), GetXCoord(), operator=(), SetCoord(), and Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 75 of file texture.h. Referenced by AddText(), ConfigSize(), End(), FromBitmap(), FromFile(), GetPixel(), operator=(), and SetPixel().  | 
  
      
  | 
  
| 
 
 Definition at line 74 of file texture.h. Referenced by ConfigSize(), FromFile(), GetYCoord(), operator=(), SetCoord(), and Zero().  | 
  
      
  | 
  
| 
 
 Definition at line 75 of file texture.h. Referenced by AddText(), ConfigSize(), End(), FromBitmap(), FromFile(), GetPixel(), operator=(), and SetPixel().  | 
  
 
1.3.6