00001 #ifndef __domGles_texcombiner_argument_rgb_h__ 00002 #define __domGles_texcombiner_argument_rgb_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_texcombiner_argument_rgb : public daeElement 00011 { 00012 public: 00013 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_ARGUMENT_RGB; } 00014 static daeInt ID() { return 262; } 00015 virtual daeInt typeID() const { return ID(); } 00016 protected: // Attributes 00017 domGles_texcombiner_source attrSource; 00018 domGles_texcombiner_operand_rgb attrOperand; 00019 xsNCName attrSampler; 00020 00021 00022 public: //Accessors and Mutators 00027 domGles_texcombiner_source getSource() const { return attrSource; } 00032 void setSource( domGles_texcombiner_source atSource ) { attrSource = atSource; } 00033 00038 domGles_texcombiner_operand_rgb getOperand() const { return attrOperand; } 00043 void setOperand( domGles_texcombiner_operand_rgb atOperand ) { attrOperand = atOperand; } 00044 00049 xsNCName getSampler() const { return attrSampler; } 00054 void setSampler( xsNCName atSampler ) { *(daeStringRef*)&attrSampler = atSampler;} 00055 00056 protected: 00060 domGles_texcombiner_argument_rgb(DAE& dae) : daeElement(dae), attrSource(), attrOperand(), attrSampler() {} 00064 virtual ~domGles_texcombiner_argument_rgb() {} 00068 virtual domGles_texcombiner_argument_rgb &operator=( const domGles_texcombiner_argument_rgb &cpy ) { (void)cpy; return *this; } 00069 00070 public: // STATIC METHODS 00075 static DLLSPEC daeElementRef create(DAE& dae); 00081 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00082 }; 00083 00084 00085 #endif