Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8366 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Jun 14, 2006, 10:42:53 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some doxytags in Texture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/texture.cc

    r8363 r8366  
    113113
    114114/**
    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.
    116118 */
    117119Texture::Texture(const std::string& imageName, GLenum target)
     
    127129
    128130
    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 */
    130136Texture::Texture(SDL_Surface* surface, GLenum target)
    131137{
     
    138144}
    139145
     146/**
     147 * @brief Initializes the Texture.
     148 */
    140149void Texture::init()
    141150{
     
    342351}
    343352
     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 */
    344360void Texture::generateTexture(GLuint& texture, GLenum target)
    345361{
Note: See TracChangeset for help on using the changeset viewer.