Inviwo  0.9.10.1
Inviwo documentation
inviwo::TextureObserver Class Reference

#include <textureobserver.h>

+ Inheritance diagram for inviwo::TextureObserver:

Public Member Functions

virtual void notifyBeforeTextureInitialization ()
 
virtual void notifyAfterTextureInitialization ()
 
- Public Member Functions inherited from inviwo::Observer
 Observer (const Observer &other)
 
 Observer (Observer &&other)
 
Observeroperator= (Observer &&other)
 
Observeroperator= (const Observer &other)
 
virtual ~Observer ()
 
void removeObservation (ObservableInterface *observable)
 
void removeObservations ()
 

Additional Inherited Members

- Protected Types inherited from inviwo::Observer
using ObservableSet = std::unordered_set< ObservableInterface * >
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 
- Protected Attributes inherited from inviwo::Observer
ObservableSet observables_
 

Detailed Description

This observer is notified before and after a texture is initialized (glTexture is called). This enables shared objects to release and rebind the texture.

See also
Observable
Texture2D
Texture3D

Member Function Documentation

◆ notifyAfterTextureInitialization()

virtual void inviwo::TextureObserver::notifyAfterTextureInitialization ( )
inlinevirtual

This method will be called after the texture has been initialized. Override it to add behavior.

◆ notifyBeforeTextureInitialization()

virtual void inviwo::TextureObserver::notifyBeforeTextureInitialization ( )
inlinevirtual

This method will be called before the texture is initialized. Override it to add behavior.


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