Go to the documentation of this file.
18 #ifndef GZ_RENDERING_SHADERPARAMS_HH_
19 #define GZ_RENDERING_SHADERPARAMS_HH_
25 #include "gz/rendering/Export.hh"
32 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
35 class ShaderParamsPrivate;
41 class IteratorPrivate;
45 class IGNITION_RENDERING_VISIBLE Iterator
56 public: Iterator(
const Iterator &_iter);
61 Iterator& operator=(
const Iterator &_iter);
69 public:
bool operator==(
const Iterator &_iter);
75 public:
bool operator!=(
const Iterator &_iter);
84 public: Iterator &operator++();
87 public: Iterator operator++(
int);
111 public: Iterator begin()
const;
116 public: Iterator end()
const;
121 public:
bool IsDirty()
const;
125 public:
void ClearDirty();
~ShaderParams()
destructor
Iterator end() const
Iterator to one past last param.
a map that holds params to be passed to a shader
Definition: gz/rendering/ShaderParams.hh:38
a variant type that holds params that can be passed to a shader
Definition: gz/rendering/ShaderParam.hh:39
ShaderParams()
constructor
bool IsDirty() const
Have the params changed?
void ClearDirty()
Resets the dirty flag.
ShaderParam & operator[](const std::string &_name)
Access a param with a given name.
Iterator begin() const
Iterator to first parameter.