| VRS - The Virtual Rendering System |
| version 3.3 |
00001 #ifndef VRS_TRANSFORMFEEDBACKATTRIBUTECONTENTTABLE_H 00002 #define VRS_TRANSFORMFEEDBACKATTRIBUTECONTENTTABLE_H 00003 00004 // 00005 // VRS 00006 // 00007 #include "transformfeedbackcontenttable.h" 00008 #include "transformfeedbackattributecontent.h" 00009 #include <vrs/container/iterator.h> 00010 00011 00012 namespace VRS 00013 { 00014 class VRS_CORE_API TransformFeedbackAttributeContentTable : public VRS::TransformFeedbackContentTable 00015 { 00016 public: 00017 00018 TransformFeedbackAttributeContentTable( 00019 const VRS::SO<VRS::Iterator<VRS::SO<VRS::TransformFeedbackAttributeContent> > >& attributeContent, 00020 GLenum storageMode = GL_SEPARATE_ATTRIBS_NV, 00021 bool enabled = true); 00022 00023 void setAttributeContent(const VRS::SO<VRS::Iterator<VRS::SO<VRS::TransformFeedbackAttributeContent> > >& attributeContent); 00024 inline const VRS::SO<VRS::Iterator<VRS::SO<VRS::TransformFeedbackAttributeContent> > >& getAttributeContent(void) const 00025 { 00026 return this->attributeContent_; 00027 } 00028 00029 virtual void apply(const VRS::SO<VRS::Engine>& engine); 00030 00031 VRS_TYPEINFO(TransformFeedbackAttributeContentTable, VRS::TransformFeedbackContentTable) 00032 VRS_SERIALIZABLE(TransformFeedbackAttributeContentTable) 00033 00034 protected: 00035 00036 TransformFeedbackAttributeContentTable(void); 00037 00038 private: 00039 00040 VRS::SO<VRS::Iterator<VRS::SO<VRS::TransformFeedbackAttributeContent> > > attributeContent_; 00041 00042 };//endclass TransformFeedbackAttributeContentTable 00043 00044 };//endnamespace VRS 00045 00046 #endif //VRS_TRANSFORMFEEDBACKATTRIBUTECONTENTTABLE_H