53 const std::set<AObject *> & obj,
unsigned tex = 0,
54 int mode = -1,
int filter = -1,
int gen = -1,
55 float rate = -1,
int rgbint = -1,
56 const float* genparams1 = 0,
57 const float* genparams2 = 0,
58 const float* genparams3 = 0,
60 const std::vector<GLComponent::glTextureWrapMode> *wrapmode = 0
64 virtual std::string
name()
const {
return(
"TexturingParams" ); }
71 std::set<AObject *> _objects;
79 std::vector<float> _genparams_1;
80 std::vector<float> _genparams_2;
81 std::vector<float> _genparams_3;
82 std::vector<GLComponent::glTextureWrapMode> _wrapmode;
86 static bool initSyntax();
virtual std::string name() const
Return the unique name of a class of commands.
virtual void write(Tree &com, Serializer *ser) const
Print the guts of a command into a Tree given as parent.
virtual ~TexturingParamsCommand()
TexturingParamsCommand(const std::set< AObject * > &obj, unsigned tex=0, int mode=-1, int filter=-1, int gen=-1, float rate=-1, int rgbint=-1, const float *genparams1=0, const float *genparams2=0, const float *genparams3=0, int valinter=-1, const std::vector< GLComponent::glTextureWrapMode > *wrapmode=0)
Context for commands processor readers (APipeReader etc)