Changeset 3454 in orxonox.OLD for orxonox/trunk/src/importer/texture.cc
- Timestamp:
- Mar 3, 2005, 6:35:04 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/importer/texture.cc
r3365 r3454 190 190 \brief Loads a Texture to the openGL-environment. 191 191 \param pImage The Image to load to openGL 192 \param texture The Texture to apply it to.193 192 */ 194 193 bool Texture::loadTexToGL (Image* pImage) … … 260 259 \brief Makes the Programm ready to Read-in a texture-File 261 260 1. Checks what type of Image should be imported 262 2. ToDO:Checks where to find the Image261 \todo Checks where to find the Image 263 262 */ 264 263 bool Texture::loadImage(char* imageName) … … 304 303 \brief reads in a Windows BMP-file, and imports it to openGL. 305 304 \param bmpName The name of the Image to load. 306 \param texture A pointer to the Texture which should be read to.307 305 */ 308 306 bool Texture::loadBMP (char* bmpName) … … 408 406 \brief reads in a jpg-file 409 407 \param jpgName the Name of the Image to load 410 \param texture a reference to the Texture to write the image to411 408 */ 412 409 bool Texture::loadJPG (char* jpgName) … … 508 505 \brief reads in a tga-file 509 506 \param tgaName the Name of the Image to load 510 \param texture a reference to the Texture to write the image to511 507 */ 512 508 bool Texture::loadTGA(const char * tgaName) … … 565 561 \param filename the Name of the Image to load 566 562 \param fTGA a Pointer to a File, that should be read 567 \param texture a reference to the Texture to write the image to568 563 */ 569 564 bool Texture::loadUncompressedTGA(const char * filename, FILE * fTGA) … … 639 634 \param filename the Name of the Image to load 640 635 \param fTGA a Pointer to a File, that should be read 641 \param texture a reference to the Texture to write the image to642 636 */ 643 637 bool Texture::loadCompressedTGA(const char * filename, FILE * fTGA) … … 816 810 817 811 818 /*819 static int ST_is_power_of_two(unsigned int number)820 {821 return (number & (number - 1)) == 0;822 }823 */824 825 812 /** 826 813 \brief reads in a png-file 827 814 \param pngName the Name of the Image to load 828 \param texture a reference to the Texture to write the image to829 815 */ 830 816 bool Texture::loadPNG(const char* pngName)
Note: See TracChangeset
for help on using the changeset viewer.