00001 #ifndef __domGles_texenv_command_h__ 00002 #define __domGles_texenv_command_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domGles_texture_constant.h> 00009 class DAE; 00010 00011 class domGles_texenv_command : public daeElement 00012 { 00013 public: 00014 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXENV_COMMAND; } 00015 static daeInt ID() { return 261; } 00016 virtual daeInt typeID() const { return ID(); } 00017 protected: // Attributes 00018 domGles_texenv_mode attrOperator; 00019 xsNCName attrSampler; 00020 00021 protected: // Element 00022 domGles_texture_constantRef elemConstant; 00023 00024 public: //Accessors and Mutators 00029 domGles_texenv_mode getOperator() const { return attrOperator; } 00034 void setOperator( domGles_texenv_mode atOperator ) { attrOperator = atOperator; } 00035 00040 xsNCName getSampler() const { return attrSampler; } 00045 void setSampler( xsNCName atSampler ) { *(daeStringRef*)&attrSampler = atSampler;} 00046 00051 const domGles_texture_constantRef getConstant() const { return elemConstant; } 00052 protected: 00056 domGles_texenv_command(DAE& dae) : daeElement(dae), attrOperator(), attrSampler(), elemConstant() {} 00060 virtual ~domGles_texenv_command() {} 00064 virtual domGles_texenv_command &operator=( const domGles_texenv_command &cpy ) { (void)cpy; return *this; } 00065 00066 public: // STATIC METHODS 00071 static DLLSPEC daeElementRef create(DAE& dae); 00077 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00078 }; 00079 00080 00081 #endif