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

#include <bufferobjectobserver.h>

+ Inheritance diagram for inviwo::BufferObjectObserver:

Public Member Functions

virtual void onBeforeBufferInitialization ()
 
virtual void onAfterBufferInitialization ()
 
- 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 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 buffer is initialized (glBufferData is called). This enables shared objects to release and rebind the buffer.

See also
Observable
BufferObject

Member Function Documentation

◆ onAfterBufferInitialization()

virtual void inviwo::BufferObjectObserver::onAfterBufferInitialization ( )
inlinevirtual

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

◆ onBeforeBufferInitialization()

virtual void inviwo::BufferObjectObserver::onBeforeBufferInitialization ( )
inlinevirtual

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


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