Changeset 10600 for OpenSceneGraph/trunk/src/osgWrappers/osg/Image.cpp
- Timestamp:
- 10/01/09 22:19:42 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/osg/Image.cpp
r9918 r10600 53 53 BEGIN_OBJECT_REFLECTOR(osg::Image) 54 54 I_DeclaringFile("osg/Image"); 55 I_BaseType(osg:: Object);55 I_BaseType(osg::BufferData); 56 56 I_Constructor0(____Image, 57 57 "", … … 86 86 "return the name of the object's class type. ", 87 87 "Must be defined by derived classes. "); 88 I_Method0(const GLvoid *, getDataPointer, 89 Properties::VIRTUAL, 90 __C5_GLvoid_P1__getDataPointer, 91 "", 92 ""); 93 I_Method0(unsigned int, getTotalDataSize, 94 Properties::VIRTUAL, 95 __unsigned_int__getTotalDataSize, 96 "", 97 ""); 88 98 I_Method1(int, compare, IN, const osg::Image &, rhs, 89 99 Properties::VIRTUAL, … … 311 321 "Ensure image dimensions are a power of two. ", 312 322 "Mipmapped textures require the image dimensions to be power of two and are within the maxiumum texture size for the host machine. "); 313 I_Method0(void, dirty,314 Properties::NON_VIRTUAL,315 __void__dirty,316 "Dirty the image, which increments the modified count, to force osg::Texture to reload the image. ",317 "");318 I_Method1(void, setModifiedCount, IN, unsigned int, value,319 Properties::NON_VIRTUAL,320 __void__setModifiedCount__unsigned_int,321 "Set the modified count value. ",322 "Used by osg::Texture when using texture subloading. ");323 I_Method0(unsigned int, getModifiedCount,324 Properties::NON_VIRTUAL,325 __unsigned_int__getModifiedCount,326 "Get modified count value. ",327 "Used by osg::Texture when using texture subloading. ");328 323 I_Method0(bool, isMipmap, 329 324 Properties::NON_VIRTUAL, … … 448 443 __AllocationMode__getAllocationMode, 449 444 __void__setAllocationMode__AllocationMode); 445 I_SimpleProperty(const GLvoid *, DataPointer, 446 __C5_GLvoid_P1__getDataPointer, 447 0); 450 448 I_SimpleProperty(GLenum, DataType, 451 449 __GLenum__getDataType, … … 466 464 __C5_MipmapDataType_R1__getMipmapLevels, 467 465 __void__setMipmapLevels__C5_MipmapDataType_R1); 468 I_SimpleProperty(unsigned int, ModifiedCount,469 __unsigned_int__getModifiedCount,470 __void__setModifiedCount__unsigned_int);471 466 I_SimpleProperty(osg::Image::Origin, Origin, 472 467 __Origin__getOrigin, … … 490 485 __unsigned_int__getRowSizeInBytes, 491 486 0); 487 I_SimpleProperty(unsigned int, TotalDataSize, 488 __unsigned_int__getTotalDataSize, 489 0); 492 490 I_SimpleProperty(unsigned int, TotalSizeInBytes, 493 491 __unsigned_int__getTotalSizeInBytes,
