class TextureManager


Public Methods

[more] TextureManager()
friend class Texture;
[more] ~TextureManager()
[more]int AddTexture( const string &filename)
[more]int AddTexture(Texture &t)
[more]void UnLoadTexture( int texindex )
[more]void BuildTextures(void)
[more]int getIndexAvailable()
[more]void MakeGLTexture(int texindex)
[more]void StartTexDrawing(int texindex)
Builds OpenGL texture
[more]void StopTexDrawing()
Set Texture state and binds texture pointed by texindex
[more]int FindTexture( const string &strName)
Must be called after textured drawing
[more]int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
parse a Texture node.

Private Fields

[more]vector<Texture> textures
[more]GLboolean texturing


Documentation

o TextureManager()
friend class Texture;

o ~TextureManager()

oint AddTexture( const string &filename)

oint AddTexture(Texture &t)

ovoid UnLoadTexture( int texindex )

ovoid BuildTextures(void)

oint getIndexAvailable()

ovoid MakeGLTexture(int texindex)

ovoid StartTexDrawing(int texindex)
Builds OpenGL texture

ovoid StopTexDrawing()
Set Texture state and binds texture pointed by texindex

oint FindTexture( const string &strName)
Must be called after textured drawing

oint ParseXML(xmlDocPtr doc, xmlNodePtr cur)
parse a Texture node. Returns the index of the texture if OK, -1 otherwise.

ovector<Texture> textures

oGLboolean texturing


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.