|
The Vish Visualization Shell 0.3
Vish
|
Base class for render parameters, which are Anemone::Tentacle instances that implement an updateValue() function via a provided functor to be invoked by Anemone::updateValues() . More...
#include <ocean/Anemonia/RenderBasin.hpp>
Classes | |
| class | ContextUpdater |
| Helper class for automatic updates of render parameters from input slots using a context-aware modifier member functor. More... | |
| class | ContextValue |
| Helper class for automatic updates of render parameters from constant values that are modified via context-relative object member functions. More... | |
| class | FunctionalUpdaterWithContext |
| Update a shader value of type ShaderType from a Slot of type SlotType using a function that takes a VRenderContext and the SlotValue as arguments. More... | |
| class | TypedUpdater |
| Helper class for automatic updates of render parameters from input slots. More... | |
| class | TypedUpdater< Type, void > |
| class | Updater |
| Helper class for automatic updates of render parameters. More... | |
Public Member Functions | |
| template<class Type > | |
| bool | modify (const Type &Data) |
| Modify a render parameter's value that is a scalar type. | |
| virtual bool | modify (const void *data, const std::type_info &type, int Multiplicity)=0 |
| Modify a generic rendering parameter. | |
| bool | updateValue (VRenderContext &Context) override |
| Implement Anemone's tentacle updateValue(), which will be invoked by Anemone::updateValues() . | |
Public Member Functions inherited from Wizt::Anemone::Tentacle | |
| virtual bool | activate (const Anemone &)=0 |
| Activate this tentacle. | |
| virtual bool | deactivate (const Anemone &)=0 |
| Deactivate this tentacle. | |
| virtual const char * | getSamplerType () const |
| If this tentacle refers to some texture sampler in a shader, then hereby return the type of this sampler is it occurs in the code. | |
| virtual int | getTextureUnit () const |
| Get the texture unit number which was specified during construction, if positive then it refers to some texture unit that is used in an associated shader. | |
| virtual size_t | memsize () const |
| Return the memory occupied by this buffer if it occupies memory at all. Otherwise, returns 0 (default). | |
| virtual size_t | NumberOfElements () const |
| Returns the number of elements provided and used by this object, if it refers to countable elements. | |
Public Member Functions inherited from MemCore::ReferenceBase< Tentacle > | |
| auto | getObjectCountID () const noexcept |
| Get a unique ID for this object in the given domain. | |
| bool | isIdentical (const WeakPtr< Tentacle, Tentacle > &PossibleSelf) const noexcept |
| Check if this object is identical to the one used by the given pointer. | |
| void | mkAutoDestructive () |
| Marks this object as being automatically destructed, e.g. | |
| refcount_t | refcount () const noexcept |
| The strong reference count. | |
| ReferenceBase (Tentacle *that) noexcept | |
| Constructor, initializes reference counter to zero. | |
| const auto & | self () const |
| Return weak pointer to the object self. | |
| refcount_t | wrefcount () const noexcept |
| The weak reference count. | |
Additional Inherited Members | |
Public Types inherited from MemCore::ReferenceBase< Tentacle > | |
| using | reference_domain_t = Tentacle |
| The type of the base class. | |
| using | SelfPtr_t = WeakPtr< Tentacle, Tentacle > |
| Type for a pointer to this object itself. | |
Public Attributes inherited from Wizt::Anemone::Tentacle | |
| Activity_t | Activity |
| A bit mask telling whether this tentacle should participate in the waving of an Anemone. | |
Protected Member Functions inherited from MemCore::ReferenceBase< Tentacle > | |
| virtual void | extremeUnction () |
| A virtual function that will be called just before the object is destroyed. | |
| ReferenceBase & | operator= (const ReferenceBase &R) |
| Protected assignment operator (should not be called). | |
| void | suicide () |
| Delete this. | |
| virtual | ~ReferenceBase () |
| Virtual destructor. | |
Base class for render parameters, which are Anemone::Tentacle instances that implement an updateValue() function via a provided functor to be invoked by Anemone::updateValues() .
|
overridevirtual |
Implement Anemone's tentacle updateValue(), which will be invoked by Anemone::updateValues() .
It will call the Updater::updateValue() function from the currently installed myUpdater.
Reimplemented from Wizt::Anemone::Tentacle.