Changeset 10600 for OpenSceneGraph/trunk/src/osgWrappers/osg/Array.cpp
- Timestamp:
- 10/01/09 22:19:42 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/osg/Array.cpp
r8468 r10600 65 65 BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Array) 66 66 I_DeclaringFile("osg/Array"); 67 I_BaseType(osg:: Object);67 I_BaseType(osg::BufferData); 68 68 I_ConstructorWithDefaults3(IN, osg::Array::Type, arrayType, osg::Array::ArrayType, IN, GLint, dataSize, 0, IN, GLenum, dataType, 0, 69 69 ____Array__Type__GLint__GLenum, … … 149 149 "Frees unused space on this vector - i.e. ", 150 150 "the difference between size() and max_size() of the underlying vector. "); 151 I_Method0(void, dirty,152 Properties::NON_VIRTUAL,153 __void__dirty,154 "Dirty the primitive, which increments the modified count, to force buffer objects to update. ",155 "");156 I_Method1(void, setModifiedCount, IN, unsigned int, value,157 Properties::NON_VIRTUAL,158 __void__setModifiedCount__unsigned_int,159 "Set the modified count value. ",160 "");161 I_Method0(unsigned int, getModifiedCount,162 Properties::NON_VIRTUAL,163 __unsigned_int__getModifiedCount,164 "Get modified count value. ",165 "");166 151 I_Method1(void, setVertexBufferObject, IN, osg::VertexBufferObject *, vbo, 167 152 Properties::NON_VIRTUAL, … … 179 164 "Get the const VertexBufferObject. ", 180 165 "If no VBO is assigned returns NULL "); 181 I_Method1(void, setVertexBufferObjectOffset, IN, const GLvoid *, offset,182 Properties::NON_VIRTUAL,183 __void__setVertexBufferObjectOffset__C5_GLvoid_P1,184 "Set the offset into the VertexBufferObject, if used. ",185 "");186 I_Method0(const GLvoid *, getVertexBufferObjectOffset,187 Properties::NON_VIRTUAL,188 __C5_GLvoid_P1__getVertexBufferObjectOffset,189 "Get the offset into the VertexBufferObject, if used. ",190 "");191 166 I_SimpleProperty(const GLvoid *, DataPointer, 192 167 __C5_GLvoid_P1__getDataPointer, … … 198 173 __GLenum__getDataType, 199 174 0); 200 I_SimpleProperty(unsigned int, ModifiedCount,201 __unsigned_int__getModifiedCount,202 __void__setModifiedCount__unsigned_int);203 175 I_SimpleProperty(unsigned int, TotalDataSize, 204 176 __unsigned_int__getTotalDataSize, … … 210 182 __osg_VertexBufferObject_P1__getVertexBufferObject, 211 183 __void__setVertexBufferObject__osg_VertexBufferObject_P1); 212 I_SimpleProperty(const GLvoid *, VertexBufferObjectOffset,213 __C5_GLvoid_P1__getVertexBufferObjectOffset,214 __void__setVertexBufferObjectOffset__C5_GLvoid_P1);215 184 END_REFLECTOR 216 185
