#include <Texture.h>
Public Member Functions | |
Texture () | |
Texture (helper::io::Image *img, bool repeat=true, bool linearInterpolation=true, bool generateMipmaps=true, bool srgbColorspace=false, float minLod=-1000, float maxLod=1000) | |
helper::io::Image * | getImage (void) |
GLuint | getTarget () const |
void | bind (void) |
void | unbind (void) |
void | init () |
void | update () |
~Texture () | |
GLuint | getId () const |
|
inline |
|
inline |
sofa::gl::Texture::~Texture | ( | void | ) |
void sofa::gl::Texture::bind | ( | void | ) |
|
inline |
helper::io::Image * sofa::gl::Texture::getImage | ( | void | ) |
|
inline |
void sofa::gl::Texture::init | ( | void | ) |
void sofa::gl::Texture::unbind | ( | void | ) |
void sofa::gl::Texture::update | ( | ) |