Updated wrappers
This commit is contained in:
@@ -112,12 +112,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__readPixels__int__int__int__int__GLenum__GLenum,
|
||||
"Read pixels from current frame buffer at specified position and size, using glReadPixels. ",
|
||||
"Create memory for storage if required, reuse existing pixel coords if possible.");
|
||||
"Create memory for storage if required, reuse existing pixel coords if possible. ");
|
||||
I_MethodWithDefaults3(void, readImageFromCurrentTexture, IN, unsigned int, contextID, , IN, bool, copyMipMapsIfAvailable, , IN, GLenum, type, GL_UNSIGNED_BYTE,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__readImageFromCurrentTexture__unsigned_int__bool__GLenum,
|
||||
"Read the contents of the current bound texture, handling compressed pixelFormats if present. ",
|
||||
"Create memory for storage if required, reuse existing pixel coords if possible.");
|
||||
"Create memory for storage if required, reuse existing pixel coords if possible. ");
|
||||
I_Method3(void, scaleImage, IN, int, s, IN, int, t, IN, int, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__scaleImage__int__int__int,
|
||||
@@ -132,7 +132,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copySubImage__int__int__int__osg_Image_P1,
|
||||
"Copy a source Image into a subpart of this Image at specified position. ",
|
||||
"Typically used to copy to an already allocated image, such as creating a 3D image from a stack 2D images. If this Image is empty then image data is created to accomodate the source image in its offset position. If source is NULL then no operation happens, this Image is left unchanged.");
|
||||
"Typically used to copy to an already allocated image, such as creating a 3D image from a stack 2D images. If this Image is empty then image data is created to accomodate the source image in its offset position. If source is NULL then no operation happens, this Image is left unchanged. ");
|
||||
I_Method1(void, setOrigin, IN, osg::Image::Origin, origin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrigin__Origin,
|
||||
@@ -262,7 +262,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__ensureValidSizeForTexturing__GLint,
|
||||
"Ensure image dimensions are a power of two. ",
|
||||
"Mipmapped textures require the image dimensions to be power of two and are within the maxiumum texture size for the host machine.");
|
||||
"Mipmapped textures require the image dimensions to be power of two and are within the maxiumum texture size for the host machine. ");
|
||||
I_Method0(void, dirty,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirty,
|
||||
|
||||
Reference in New Issue
Block a user