Changeset 8366 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Jun 14, 2006, 10:42:53 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture.cc
r8363 r8366 113 113 114 114 /** 115 * Constructor for a Texture 115 * @brief Constructor for a Texture 116 * @param imageName: the Name of the Texutre (FileName) 117 * @param target: the GL-Target to load the Texture to. 116 118 */ 117 119 Texture::Texture(const std::string& imageName, GLenum target) … … 127 129 128 130 129 131 /** 132 * @brief creates a Texture out of a SDL_Surface. 133 * @param surface: the Surface to load. 134 * @param target: the GL-Target to load this to. 135 */ 130 136 Texture::Texture(SDL_Surface* surface, GLenum target) 131 137 { … … 138 144 } 139 145 146 /** 147 * @brief Initializes the Texture. 148 */ 140 149 void Texture::init() 141 150 { … … 342 351 } 343 352 353 /** 354 * @brief creates a new Texture. 355 * @param texture: the Texture is loaded here (should be 0 and will be set to the Value of the New Texture.) 356 * @param target: The GL-Target to generate the texture on. 357 * 358 * @note this is the real GL-texture-creat-wrapper, where the Texture is Created 359 */ 344 360 void Texture::generateTexture(GLuint& texture, GLenum target) 345 361 {
Note: See TracChangeset
for help on using the changeset viewer.