Changeset 8037 in orxonox.OLD for trunk/src/lib/graphics/importer/material.h
- Timestamp:
- May 31, 2006, 4:52:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/material.h
r7919 r8037 30 30 31 31 bool select () const; 32 bool activateTextureUnit(unsigned int textureNumber); 33 static void unselect(); 32 34 33 35 void setIllum (int illum); … … 55 57 void setDiffuseMap(const std::string& dMap, GLenum target = GL_TEXTURE_2D, unsigned int textureNumber = 0); 56 58 void setSDLDiffuseMap(SDL_Surface *surface, GLenum target = GL_TEXTURE_2D, unsigned int textureNumber = 0); 59 void renderToTexture(unsigned int textureNumber, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 57 60 58 61 void setAmbientMap(const std::string& aMap, GLenum target = GL_TEXTURE_2D);
Note: See TracChangeset
for help on using the changeset viewer.