00001 #ifndef VRS_TRANSFORMFEEDBACKATTRIBUTECONTENT_H
00002 #define VRS_TRANSFORMFEEDBACKATTRIBUTECONTENT_H
00003
00004
00005
00006
00007 #include <vrs/sharedobj.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 namespace VRS
00033 {
00034 class VRS_CORE_API TransformFeedbackAttributeContent : public VRS::SharedObj
00035 {
00036
00037 public:
00038
00039 TransformFeedbackAttributeContent(
00040 int attributeToRecord,
00041 int attributeSize,
00042 int reserved = 0);
00043
00044 void setAttributeToRecord(int attributeToRecord);
00045 inline int getAttributeToRecord(void) const
00046 {
00047 return this->attributeToRecord_;
00048 }
00049
00050 void setAttributeSize(int attributeSize);
00051 inline int getAttributeSize(void) const
00052 {
00053 return this->attributeSize_;
00054 }
00055
00056 void setReserved(int reserved);
00057 inline int getReserved(void) const
00058 {
00059 return this->reserved_;
00060 }
00061
00062 VRS_TYPEINFO(TransformFeedbackAttributeContent, VRS::SharedObj)
00063 VRS_SERIALIZABLE(TransformFeedbackAttributeContent)
00064
00065 protected:
00066
00067 TransformFeedbackAttributeContent(void);
00068
00069 private:
00070
00071 bool checkValidity(void);
00072
00073 private:
00074
00075 int attributeToRecord_;
00076 int attributeSize_;
00077 int reserved_;
00078
00079 };
00080
00081 };
00082
00083 #endif //VRS_TRANSFORMFEEDBACKATTRIBUTECONTENT_H