Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::TextureObserver Class Reference

#include <modules/opengl/texture/textureobserver.h>

Inheritance diagram for inviwo::TextureObserver:

Public Member Functions

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

Additional Inherited Members

Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > 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:
  • modules/opengl/include/modules/opengl/texture/textureobserver.h