#include <texture.h>
Graphe de collaboration de ngn::core::Texture:
Définition à la ligne 57 du fichier texture.h.
Fonctions membres publiques | |
GLuint | getTextureID () |
l'identifiant de la texture | |
std::string | getTexturePath () |
le chemin de la texture | |
bool | hasAlphaChannel () const |
vrai si la texture possède un canal alpha | |
virtual void | setFlag (texflag flag) |
définit comment la texture devra être appliquée aux surfaces | |
virtual bool | loadTexture (std::string texname, texflag flag=TEX_NONE) |
charge l'image 'texname' et crée une texture OpenGL, renvoit vrai si réussite | |
virtual bool | loadTexture (std::string texname, int id, GLuint texture_array[], texflag flag=TEX_NONE) |
virtual bool | loadTexture (std::string texname, int id, texflag flag=TEX_NONE) |
|
charge l'image et crée une texture OpenGL dans le tableau interne à NGN
|
|
charge l'image et crée une texture OpenGL dans le tableau spécifié par l'utilisateur
|