Changeset 5239 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Sep 24, 2005, 11:13:32 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture.h
r4836 r5239 9 9 #define _TEXTURE_H 10 10 11 #include "sdlincl.h"12 11 #include "glincl.h" 13 12 14 13 #include "debug.h" 15 14 15 struct SDL_Surface; 16 16 17 //! an enumerator for different procedural texture-types 17 18 typedef enum TEXTURE_TYPE { TEXTURE_RADIAL_ALIAS, 18 19 TEXTURE_NOISE }; 19 20 20 21 //! A Class, that reads in Textures from different fileformats. … … 28 29 29 30 /** @returns The textureID of this texture. */ 30 inline GLuint getTexture() {return this->texture;}31 inline GLuint getTexture() const { return this->texture; }; 31 32 GLuint loadTexToGL (SDL_Surface* surface); 32 33 /** @returns true if texture has alpha, false otherwise */
Note: See TracChangeset
for help on using the changeset viewer.