Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 14, 2005, 1:18:19 AM (20 years ago)
Author:
hdavid
Message:

branches\avi_play: MediaContainer::getNextFrame() try to create a texture from a frame ←- DOES NOT WORK YET, added new function TextureSequence::addFrame(GLuint texture)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/src/lib/graphics/importer/texture_sequence.cc

    r5924 r6094  
    152152}
    153153
    154 
     154/**
     155 * @brief adds a new Frame at the end of the Sequence.
     156 * @param texture the texture to add at the end of the Sequence.
     157 */
     158bool TextureSequence::addFrame(GLuint texture)
     159{
     160  if (texture == NULL)
     161    return false;
     162  this->textures.push_back(texture);
     163 
     164  return true;
     165}
    155166
    156167/**
Note: See TracChangeset for help on using the changeset viewer.