00001 #ifndef __domGles_texture_constant_h__ 00002 #define __domGles_texture_constant_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00010 class domGles_texture_constant : public daeElement 00011 { 00012 public: 00013 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXTURE_CONSTANT; } 00014 static daeInt ID() { return 260; } 00015 virtual daeInt typeID() const { return ID(); } 00016 protected: // Attributes 00017 domFloat4 attrValue; 00018 xsNCName attrParam; 00019 00020 00021 public: //Accessors and Mutators 00026 domFloat4 getValue() const { return attrValue; } 00031 void setValue( domFloat4 atValue ) { attrValue = atValue; } 00032 00037 xsNCName getParam() const { return attrParam; } 00042 void setParam( xsNCName atParam ) { *(daeStringRef*)&attrParam = atParam;} 00043 00044 protected: 00048 domGles_texture_constant(DAE& dae) : daeElement(dae), attrValue(), attrParam() {} 00052 virtual ~domGles_texture_constant() {} 00056 virtual domGles_texture_constant &operator=( const domGles_texture_constant &cpy ) { (void)cpy; return *this; } 00057 00058 public: // STATIC METHODS 00063 static DLLSPEC daeElementRef create(DAE& dae); 00069 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00070 }; 00071 00072 00073 #endif