Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7788 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.h


Ignore:
Timestamp:
May 24, 2006, 3:41:09 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: Material handles references… lets see if this works

File:
1 edited

Legend:

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

    r7785 r7788  
    3030    bool loadSurface(SDL_Surface* surface, GLenum target = GL_TEXTURE_2D);
    3131
    32 
    33 
    3432    bool rebuild();
    3533
    3634    bool setSurface(SDL_Surface* newSurface);
     35    /** @returns true if the Surface has an Alpha Value. */
    3736    bool setAlpha(bool hasAlpha) { this->bAlpha = hasAlpha; };
    3837    bool setTexture(GLuint texture);
     
    4948{
    5049public:
    51 
    52 public:
     50  Texture(const Texture& texture);
    5351  Texture(GLenum target = GL_TEXTURE_2D);
    5452  Texture(const std::string& imageName, GLenum target = GL_TEXTURE_2D);
Note: See TracChangeset for help on using the changeset viewer.