Changeset 7788 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.h
- Timestamp:
- May 24, 2006, 3:41:09 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture.h
r7785 r7788 30 30 bool loadSurface(SDL_Surface* surface, GLenum target = GL_TEXTURE_2D); 31 31 32 33 34 32 bool rebuild(); 35 33 36 34 bool setSurface(SDL_Surface* newSurface); 35 /** @returns true if the Surface has an Alpha Value. */ 37 36 bool setAlpha(bool hasAlpha) { this->bAlpha = hasAlpha; }; 38 37 bool setTexture(GLuint texture); … … 49 48 { 50 49 public: 51 52 public: 50 Texture(const Texture& texture); 53 51 Texture(GLenum target = GL_TEXTURE_2D); 54 52 Texture(const std::string& imageName, GLenum target = GL_TEXTURE_2D);
Note: See TracChangeset
for help on using the changeset viewer.