Inviwo  0.9.10.1
Inviwo documentation
inviwo::Texture3D Class Reference
+ Inheritance diagram for inviwo::Texture3D:

Public Member Functions

 Texture3D (size3_t dimensions, GLFormats::GLFormat glFormat, GLenum filtering, GLint level=0)
 
 Texture3D (size3_t dimensions, GLint format, GLint internalformat, GLenum dataType, GLenum filtering, GLint level=0)
 
 Texture3D (const Texture3D &other)
 
 Texture3D (Texture3D &&other)
 
Texture3Doperator= (const Texture3D &other)
 
Texture3Doperator= (Texture3D &&other)
 
Texture3Dclone () const
 
void initialize (const void *data)
 
size_t getNumberOfValues () const
 
void upload (const void *data)
 
void uploadAndResize (const void *data, const size3_t &dim)
 
const size3_t & getDimensions () const
 
- Public Member Functions inherited from inviwo::Texture
 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)
 
Textureoperator= (const Texture &other)
 
Textureoperator= (Texture &&other)
 
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
 

Static Protected Member Functions

static void default3DTextureParameterFunction (Texture *)
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::Texture
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 inherited from inviwo::Texture
GLenum target_
 
GLenum format_
 
GLenum internalformat_
 
GLenum dataType_
 
GLenum filtering_
 
GLint level_
 

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