12template <
typename... Arguments>
18 static void add(std::vector<glbinding::AbstractValue*> &)
23template <
typename Argument,
typename... Arguments>
24struct ValueAdder<Argument, Arguments...>
26 static void add(std::vector<glbinding::AbstractValue*> & values, Argument value, Arguments&&... rest)
29 ValueAdder<Arguments...>::add(values, std::forward<Arguments>(rest)...);
33template <
typename... Arguments>
34void addValuesTo(std::vector<glbinding::AbstractValue*> & values, Arguments&&... arguments)
36 ValueAdder<Arguments...>::add(values, std::forward<Arguments>(arguments)...);
59template <
typename Argument>
68 auto values = std::vector<AbstractValue*>{};
The AbstractValue class represents the superclass of a printable wrapper around an OpenGL data type.
Definition AbstractValue.h:21
Value(const T &value)
Constructor.
Definition Value.inl:48
virtual void printOn(std::ostream &stream) const override
Prints the contents of this Value on a stream.
Definition Value.inl:54
Contains all the classes of glbinding.
std::vector< AbstractValue * > createValues(Arguments &&... arguments)
A wrapper around the creation of a vector of arguments.
Definition Value.inl:66
AbstractValue * createValue(const Argument &argument)
A wrapper around the type deduction and memory allocation of a specific argument.
Definition Value.inl:60