00001 #ifndef __domGles_texcombiner_command_h__ 00002 #define __domGles_texcombiner_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 #include <dom/domGles_texcombiner_command_rgb.h> 00010 #include <dom/domGles_texcombiner_command_alpha.h> 00011 class DAE; 00012 00013 class domGles_texcombiner_command : public daeElement 00014 { 00015 public: 00016 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_COMMAND; } 00017 static daeInt ID() { return 266; } 00018 virtual daeInt typeID() const { return ID(); } 00019 00020 protected: // Elements 00021 domGles_texture_constantRef elemConstant; 00022 domGles_texcombiner_command_rgbRef elemRGB; 00023 domGles_texcombiner_command_alphaRef elemAlpha; 00024 00025 public: //Accessors and Mutators 00030 const domGles_texture_constantRef getConstant() const { return elemConstant; } 00035 const domGles_texcombiner_command_rgbRef getRGB() const { return elemRGB; } 00040 const domGles_texcombiner_command_alphaRef getAlpha() const { return elemAlpha; } 00041 protected: 00045 domGles_texcombiner_command(DAE& dae) : daeElement(dae), elemConstant(), elemRGB(), elemAlpha() {} 00049 virtual ~domGles_texcombiner_command() {} 00053 virtual domGles_texcombiner_command &operator=( const domGles_texcombiner_command &cpy ) { (void)cpy; return *this; } 00054 00055 public: // STATIC METHODS 00060 static DLLSPEC daeElementRef create(DAE& dae); 00066 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00067 }; 00068 00069 00070 #endif