Updated wrappers

This commit is contained in:
Robert Osfield 2008-05-28 11:58:46 +00:00
parent 8677c4d6d6
commit e68e474c90

View File

@ -513,11 +513,29 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture)
__void__applyTexParameters__GLenum__State_R1,
"Helper method. ",
"Sets texture parameters. ");
I_ProtectedMethod1(bool, isHardwareMipmapGenerationEnabled, IN, const osg::State &, state,
Properties::NON_VIRTUAL,
Properties::CONST,
__bool__isHardwareMipmapGenerationEnabled__C5_State_R1,
"Returns true if _useHardwareMipMapGeneration is true and either glGenerateMipmapEXT() or GL_GENERATE_MIPMAP_SGIS are supported. ",
"");
I_ProtectedMethod2(GenerateMipmapMode, mipmapBeforeTexImage, IN, const osg::State &, state, IN, bool, hardwareMipmapOn,
Properties::NON_VIRTUAL,
Properties::CONST,
__GenerateMipmapMode__mipmapBeforeTexImage__C5_State_R1__bool,
"Helper methods to be called before and after calling gl[Compressed][Copy]Tex[Sub]Image2D to handle generating mipmaps. ",
"");
I_ProtectedMethod2(void, mipmapAfterTexImage, IN, osg::State &, state, IN, GenerateMipmapMode, beforeResult,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__mipmapAfterTexImage__State_R1__GenerateMipmapMode,
"",
"");
I_ProtectedMethod1(void, generateMipmap, IN, osg::State &, state,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__generateMipmap__State_R1,
"Helper method to generate empty mipmap levels by calling of glGenerateMipmapEXT. ",
"Helper method to generate mipmap levels by calling of glGenerateMipmapEXT. ",
"If it is not supported, then call the virtual allocateMipmap() method ");
I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state,
Properties::PURE_VIRTUAL,