sofa::helper::gl::Texture Class Reference

#include <Texture.h>

Collaboration diagram for sofa::helper::gl::Texture:

Collaboration graph
[legend]

Public Member Functions

 Texture (io::Image *img)
io::Image * getImage (void)
void bind (void)
void unbind (void)
void init (void)
 ~Texture ()

Private Attributes

io::Image * image
GLuint id

Detailed Description

Definition at line 45 of file Texture.h.


Constructor & Destructor Documentation

sofa::helper::gl::Texture::Texture ( io::Image *  img  )  [inline]

Definition at line 51 of file Texture.h.

sofa::helper::gl::Texture::~Texture ( void   ) 

Definition at line 76 of file Texture.cpp.

References image.


Member Function Documentation

void sofa::helper::gl::Texture::bind ( void   ) 

io::Image * sofa::helper::gl::Texture::getImage ( void   ) 

void sofa::helper::gl::Texture::init ( void   ) 

void sofa::helper::gl::Texture::unbind ( void   ) 


Field Documentation

Definition at line 49 of file Texture.h.

Definition at line 48 of file Texture.h.

Referenced by getImage(), init(), and ~Texture().


The documentation for this class was generated from the following files:

Generated on Sun Nov 23 04:24:18 2008 for Sofa by  doxygen 1.5.7.1