{ }
+DataFile::Loader::ActionMap SequenceTemplate::Loader::shared_actions;
+
SequenceTemplate::Loader::Loader(SequenceTemplate &t, Collection &c):
CollectionObjectLoader<SequenceTemplate>(t, &c)
+{
+ set_actions(shared_actions);
+}
+
+void SequenceTemplate::Loader::init_actions()
{
add("hdr", &SequenceTemplate::hdr);
add("alpha", &SequenceTemplate::alpha);
}
+DataFile::Loader::ActionMap SequenceTemplate::ClearLoader::shared_actions;
+
SequenceTemplate::ClearLoader::ClearLoader(SequenceTemplate &t):
ObjectLoader<SequenceTemplate>(t)
+{
+ set_actions(shared_actions);
+}
+
+void SequenceTemplate::ClearLoader::init_actions()
{
add("color", &ClearLoader::color);
add("depth", &ClearLoader::depth);
}
+DataFile::Loader::ActionMap SequenceTemplate::Step::Loader::shared_actions;
+
SequenceTemplate::Step::Loader::Loader(Step &p, Collection &c):
DataFile::CollectionObjectLoader<Step>(p, &c)
+{
+ set_actions(shared_actions);
+}
+
+void SequenceTemplate::Step::Loader::init_actions()
{
add("depth_test", &Loader::depth_test);
add("depth_test", &Loader::depth_compare);
public:
class Loader: public DataFile::CollectionObjectLoader<SequenceTemplate>
{
+ private:
+ static ActionMap shared_actions;
+
public:
Loader(SequenceTemplate &, Collection &);
-
private:
+ virtual void init_actions();
+
void clear();
void multisample(unsigned);
void multisample_range(unsigned, unsigned);
private:
std::string inline_base_name;
+ static ActionMap shared_actions;
+
public:
Loader(Step &, Collection &);
+ private:
+ virtual void init_actions();
+ public:
void set_inline_base_name(const std::string &);
private:
private:
class ClearLoader: public DataFile::ObjectLoader<SequenceTemplate>
{
+ private:
+ static ActionMap shared_actions;
+
public:
ClearLoader(SequenceTemplate &);
-
private:
+ virtual void init_actions();
+
void color(float, float, float, float);
void depth(float);
void stencil(int);