Changeset 4746 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer/texture.h
- Timestamp:
- Jul 1, 2005, 12:48:48 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/texture.h
r4466 r4746 25 25 // Texture(TEXTURE_TYPE type, int resolution); 26 26 27 ~Texture( void);27 ~Texture(); 28 28 29 29 /** \returns The textureID of this texture. */ 30 inline GLuint getTexture( void) {return this->texture;}30 inline GLuint getTexture() {return this->texture;} 31 31 GLuint loadTexToGL (SDL_Surface* surface); 32 32 /** \returns true if texture has alpha, false otherwise */ 33 inline bool hasAlpha( void) const {return bAlpha;}33 inline bool hasAlpha() const {return bAlpha;} 34 34 35 35 bool loadImage(const char* imageName);
Note: See TracChangeset
for help on using the changeset viewer.