Changeset 6129 in orxonox.OLD for branches/network/src/lib/graphics/importer/texture.h
- Timestamp:
- Dec 16, 2005, 2:01:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/graphics/importer/texture.h
r5859 r6129 39 39 40 40 // Utility functionality: 41 staticSDL_Surface* prepareSurface(SDL_Surface* input, bool& hasAlpha);42 staticGLuint loadTexToGL (const SDL_Surface* surface);41 SDL_Surface* prepareSurface(SDL_Surface* input, bool& hasAlpha); 42 GLuint loadTexToGL (const SDL_Surface* surface); 43 43 44 44 protected: … … 53 53 bool bAlpha; //!< if the texture has an alpha channel. 54 54 SDL_Surface* image; //!< The SDL_Surfce that stores the Texture on it. 55 GLclampf priority; //!< the priority of the current texture (used for garphics cards with limited mem) 55 56 56 57 static bool texturesEnabled; //!< If the Textures are enabled.
Note: See TracChangeset
for help on using the changeset viewer.