Changeset 8575 in orxonox.OLD for branches/gui/src/lib/graphics
- Timestamp:
- Jun 18, 2006, 11:01:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/graphics/importer/material.h
r8572 r8575 59 59 void setSpecularMap(const std::string& sMap, GLenum target = GL_TEXTURE_2D); 60 60 void setBump(const std::string& bump); 61 GLuint getDiffuseTexture(unsigned int i = 0) const { return (this->textures.size() > i)? this->textures[i].getTexture() : 0; }; 61 62 GLuint diffuseTextureID(unsigned int i = 0) const { return (this->textures.size() > i)? this->textures[i].getTexture() : 0; }; 63 64 const Texture& diffuseTexture(unsigned int i = 0) const { return this->textures[i]; }; 62 65 63 66 static void addTexturePath(const std::string& pathName);
Note: See TracChangeset
for help on using the changeset viewer.