Syntactic sugar to ease coupling of uniform shader parameters with TypedSlots and functions.
More...
|
|
Anemone_Context_t | Wizt::operator<< (Anemone &A, VRenderContext &VC) |
| | Combine an Anemone and a VRenderContext, as syntactic sugar to be used in the render context operators.
|
| |
|
Anemone_Context_String_t | Wizt::operator<< (const Anemone_Context_Parameter_t &AC, const string &name) |
| | Create an Anemone context with identifier.
|
| |
|
MemCore::WeakPtr< VRenderContext::RenderFlag > | Wizt::operator<< (const Anemone_Context_String_t &ACS, bool Value) |
| | Enable/Disable an OpenGL State.
|
| |
| template<int M, typename T > |
| MemCore::WeakPtr< VRenderContext::RenderParameter > | Wizt::operator<< (const Anemone_Context_String_t &ACS, const Eagle::FixedArray< T, M > &Value) |
| | Set a constant value as render parameter.
|
| |
|
template<class Modifier > |
| std::tuple< Anemone &, VRenderContext &, std::string, Modifier > | Wizt::operator<< (const Anemone_Context_String_t &ACS, const Modifier &M) |
| | Include a modifier in the Anemone stream.
|
| |
|
MemCore::WeakPtr< VRenderContext::RenderParameter > | Wizt::operator<< (const Anemone_Context_String_t &ACS, double V) |
| | Set a constant value as render parameter.
|
| |
|
MemCore::WeakPtr< VRenderContext::RenderParameter > | Wizt::operator<< (const Anemone_Context_String_t &ACS, int V) |
| | Set a constant value as render parameter.
|
| |
| template<class Type > |
| Anemone_Context_Parameter_t | Wizt::operator<< (const Anemone_Context_String_t &Target, const TypedSlot< Type > &InputSlot) |
| | Couple a uniform variable with an object's input slot using and the name of the shader variable must be identical to the name of the input slot.
|
| |
| template<class Type > |
| Anemone_Context_Parameter_t | Wizt::operator<< (const Anemone_Context_String_t &Target, const VObject::in< Type > &InputSlot) |
| | Couple a uniform variable with an object's input slot using the name of the input slot.
|
| |
| template<class Type > |
| Anemone_Context_Parameter_t | Wizt::operator<< (const Anemone_Context_String_t &Target, const VObject::inout< Type > &InputSlot) |
| | Couple a uniform variable with an object's input slot using the name of the input slot.
|
| |
|
Anemone_Context_String_t | Wizt::operator<< (const Anemone_Context_t &AC, const string &name) |
| | Create an Anemone context with identifier.
|
| |
| template<class Type > |
| Anemone_Context_Parameter_t | Wizt::operator<< (const std::tuple< Anemone &, VRenderContext & > &Target, const TypedSlot< Type > &InputSlot) |
| | Couple a uniform variable with an object's input slot using the name of the input slot.
|
| |
| template<class Type , class Modifier > |
| MemCore::WeakPtr< VRenderContext::RenderParameter > | Wizt::operator<< (const std::tuple< Anemone &, VRenderContext &, std::string, Modifier > &Target, const TypedSlot< Type > &InputSlot) |
| | Couple a Vish Object's input slot with a uniform shader variable via some functor, allowing for the following syntax:
|
| |
| template<class Object , class ParameterType > |
| const std::tuple< Anemone &, VRenderContext &, std::string, ParameterType(Object::*)(const ParameterType &, VRenderContext &Context) const, const Object * > | Wizt::operator<< (const std::tuple< Anemone &, VRenderContext &, std::string, ParameterType(Object::*)(const ParameterType &, VRenderContext &Context) const > &Target, const Object *theObject) |
| | Couple an Anemone's updateValues() function with an VObject's member function.
|
| |
| template<class Object , class ParameterType > |
| MemCore::WeakPtr< VRenderContext::RenderParameter > | Wizt::operator<< (const std::tuple< Anemone &, VRenderContext &, std::string, ParameterType(Object::*)(const ParameterType &, VRenderContext &Context) const, const Object * > &Target, const ParameterType &Value) |
| | Couple an Anemone's updateValues() function with an VObject's member function.
|
| |
| template<class Object , class ParameterType , class Type > |
| MemCore::WeakPtr< VRenderContext::RenderParameter > | Wizt::operator<< (const std::tuple< Anemone &, VRenderContext &, std::string, ParameterType(Object::*)(const Type &, VRenderContext &Context) const, const Object * > &Target, const VObject::in< Type > &InputSlot) |
| | Couple an Anemone's updateValues() function with an VObject's member function via a modifier function on a slot.
|
| |
| template<class Object , class ParameterType , class Type > |
| MemCore::WeakPtr< VRenderContext::RenderParameter > | Wizt::operator<< (const std::tuple< Anemone &, VRenderContext &, std::string, ParameterType(Object::*)(const Type &, VRenderContext &Context) const, const Object * > &Target, const VObject::inout< Type > &InputSlot) |
| | Couple an Anemone's updateValues() function with an VObject's member function via a modifier function on a slot.
|
| |
| template<class Object , class ParameterType > |
| MemCore::WeakPtr< VRenderContext::RenderParameter > | Wizt::operator<< (const std::tuple< Anemone &, VRenderContext &, std::string, ParameterType(Object::*)(VRenderContext &Context) const > &Target, const Object *theObject) |
| | Couple an Anemone's updateValues() function with an VObject's member function.
|
| |
|
template<class Value > |
| MemCore::WeakPtr< VRenderContext::RenderParameter > | Wizt::operator<<= (const Anemone_Context_String_t &ACS, const Value &V) |
| | Set a constant value as render parameter.
|
| |
| template<typename Type > |
| MemCore::RefPtr< RenderBasin::RenderParameter > | Wizt::operator>> (const Anemone_Context_String_t &ACS, const Type &Functor) |
| | Couple an Anemone's updateValues() function with functor, in particular a lambda function:
|
| |
Syntactic sugar to ease coupling of uniform shader parameters with TypedSlots and functions.
This works by coupling the Anemone::updateValues(VRenderContext&Context) function with the context-relative evaluation of a TypedSlot.