Inviwo
0.9.10.1
Inviwo documentation
|
Public Member Functions | |
Texture (GLenum, GLFormats::GLFormat glFormat, GLenum filtering, GLint level=0) | |
Texture (GLenum, GLint format, GLint internalformat, GLenum dataType, GLenum filtering, GLint level=0) | |
Texture (const Texture &other) | |
Texture (Texture &&other) | |
Texture & | operator= (const Texture &other) |
Texture & | operator= (Texture &&other) |
virtual Texture * | clone () const =0 |
virtual size_t | getNumberOfValues () const =0 |
virtual void | upload (const void *data)=0 |
GLuint | getID () const |
GLenum | getTarget () const |
GLenum | getFormat () const |
GLenum | getInternalFormat () const |
GLenum | getDataType () const |
GLenum | getFiltering () const |
GLint | getLevel () const |
GLuint | getNChannels () const |
GLuint | getSizeInBytes () const |
void | setTextureParameters (std::function< void(Texture *)> fun) |
void | bind () const |
void | unbind () const |
void | setSwizzleMask (SwizzleMask mask) |
SwizzleMask | getSwizzleMask () const |
void | download (void *data) const |
void | downloadToPBO () const |
void | loadFromPBO (const Texture *) |
Public Member Functions inherited from inviwo::Observable< TextureObserver > | |
Observable (const Observable< TextureObserver > &other) | |
Observable (Observable< TextureObserver > &&other) | |
Observable< TextureObserver > & | operator= (const Observable< TextureObserver > &other) |
Observable< TextureObserver > & | operator= (Observable< TextureObserver > &&other) |
void | addObserver (TextureObserver *observer) |
void | removeObserver (TextureObserver *observer) |
virtual void | startBlockingNotifications () override final |
virtual void | stopBlockingNotifications () override final |
Protected Member Functions | |
void | bindFromPBO () const |
void | bindToPBO () const |
void | unbindFromPBO () const |
void | unbindToPBO () const |
void | setupAsyncReadBackPBO () const |
void | setPBOAsInvalid () |
void | setNChannels () |
void | setSizeInBytes () |
Protected Member Functions inherited from inviwo::Observable< TextureObserver > | |
void | forEachObserver (C callback) |
Protected Member Functions inherited from inviwo::ObservableInterface | |
void | addObservationHelper (Observer *observer) |
void | removeObservationHelper (Observer *observer) |
Protected Attributes | |
GLenum | target_ |
GLenum | format_ |
GLenum | internalformat_ |
GLenum | dataType_ |
GLenum | filtering_ |
GLint | level_ |