texture.cpp

来自「最新osg包」· C++ 代码 · 共 1,038 行 · 第 1/4 页

CPP
1,038
字号
	I_ProtectedMethod0(void, computeInternalFormatType,	                   Properties::NON_VIRTUAL,	                   Properties::CONST,	                   __void__computeInternalFormatType,	                   "",	                   "");	I_ProtectedMethod2(void, applyTexParameters, IN, GLenum, target, IN, osg::State &, state,	                   Properties::NON_VIRTUAL,	                   Properties::CONST,	                   __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(osg::Texture::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, osg::Texture::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 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,	                   Properties::CONST,	                   __void__allocateMipmap__State_R1,	                   "Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ",	                   "");	I_ProtectedMethod1(int, compareTexture, IN, const osg::Texture &, rhs,	                   Properties::NON_VIRTUAL,	                   Properties::CONST,	                   __int__compareTexture__C5_Texture_R1,	                   "Returns -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",	                   "");	I_ProtectedMethod1(int, compareTextureObjects, IN, const osg::Texture &, rhs,	                   Properties::NON_VIRTUAL,	                   Properties::CONST,	                   __int__compareTextureObjects__C5_Texture_R1,	                   "Returns -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",	                   "");	I_SimpleProperty(const osg::Vec4d &, BorderColor, 	                 __C5_Vec4d_R1__getBorderColor, 	                 __void__setBorderColor__C5_Vec4d_R1);	I_SimpleProperty(GLint, BorderWidth, 	                 __GLint__getBorderWidth, 	                 __void__setBorderWidth__GLint);	I_SimpleProperty(bool, ClientStorageHint, 	                 __bool__getClientStorageHint, 	                 __void__setClientStorageHint__bool);	I_IndexedProperty(osg::Texture::FilterMode, Filter, 	                  __FilterMode__getFilter__FilterParameter, 	                  __void__setFilter__FilterParameter__FilterMode, 	                  0);	I_ArrayProperty(osg::Image *, Image, 	                __Image_P1__getImage__unsigned_int, 	                __void__setImage__unsigned_int__Image_P1, 	                __unsigned_int__getNumImages, 	                0, 	                0, 	                0);	I_SimpleProperty(GLint, InternalFormat, 	                 __GLint__getInternalFormat, 	                 __void__setInternalFormat__GLint);	I_SimpleProperty(osg::Texture::InternalFormatMode, InternalFormatMode, 	                 __InternalFormatMode__getInternalFormatMode, 	                 __void__setInternalFormatMode__InternalFormatMode);	I_SimpleProperty(osg::Texture::InternalFormatType, InternalFormatType, 	                 __InternalFormatType__getInternalFormatType, 	                 0);	I_SimpleProperty(float, MaxAnisotropy, 	                 __float__getMaxAnisotropy, 	                 __void__setMaxAnisotropy__float);	I_SimpleProperty(osg::GraphicsContext *, ReadPBuffer, 	                 __GraphicsContext_P1__getReadPBuffer, 	                 __void__setReadPBuffer__GraphicsContext_P1);	I_SimpleProperty(bool, ResizeNonPowerOfTwoHint, 	                 __bool__getResizeNonPowerOfTwoHint, 	                 __void__setResizeNonPowerOfTwoHint__bool);	I_SimpleProperty(float, ShadowAmbient, 	                 __float__getShadowAmbient, 	                 __void__setShadowAmbient__float);	I_SimpleProperty(osg::Texture::ShadowCompareFunc, ShadowCompareFunc, 	                 __ShadowCompareFunc__getShadowCompareFunc, 	                 __void__setShadowCompareFunc__ShadowCompareFunc);	I_SimpleProperty(bool, ShadowComparison, 	                 0, 	                 __void__setShadowComparison__bool);	I_SimpleProperty(osg::Texture::ShadowTextureMode, ShadowTextureMode, 	                 __ShadowTextureMode__getShadowTextureMode, 	                 __void__setShadowTextureMode__ShadowTextureMode);	I_SimpleProperty(GLenum, SourceFormat, 	                 __GLenum__getSourceFormat, 	                 __void__setSourceFormat__GLenum);	I_SimpleProperty(GLenum, SourceType, 	                 __GLenum__getSourceType, 	                 __void__setSourceType__GLenum);	I_SimpleProperty(int, TextureDepth, 	                 __int__getTextureDepth, 	                 0);	I_SimpleProperty(int, TextureHeight, 	                 __int__getTextureHeight, 	                 0);	I_SimpleProperty(GLenum, TextureTarget, 	                 __GLenum__getTextureTarget, 	                 0);	I_SimpleProperty(int, TextureWidth, 	                 __int__getTextureWidth, 	                 0);	I_SimpleProperty(osg::StateAttribute::Type, Type, 	                 __Type__getType, 	                 0);	I_SimpleProperty(bool, UnRefImageDataAfterApply, 	                 __bool__getUnRefImageDataAfterApply, 	                 __void__setUnRefImageDataAfterApply__bool);	I_SimpleProperty(bool, UseHardwareMipMapGeneration, 	                 __bool__getUseHardwareMipMapGeneration, 	                 __void__setUseHardwareMipMapGeneration__bool);	I_IndexedProperty(osg::Texture::WrapMode, Wrap, 	                  __WrapMode__getWrap__WrapParameter, 	                  __void__setWrap__WrapParameter__WrapMode, 	                  0);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::Texture::Extensions)	I_DeclaringFile("osg/Texture");	I_BaseType(osg::Referenced);	I_Constructor1(IN, unsigned int, contextID,	               Properties::NON_EXPLICIT,	               ____Extensions__unsigned_int,	               "",	               "");	I_Constructor1(IN, const osg::Texture::Extensions &, rhs,	               Properties::NON_EXPLICIT,	               ____Extensions__C5_Extensions_R1,	               "",	               "");	I_Method1(void, lowestCommonDenominator, IN, const osg::Texture::Extensions &, rhs,	          Properties::NON_VIRTUAL,	          __void__lowestCommonDenominator__C5_Extensions_R1,	          "",	          "");	I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,	          Properties::NON_VIRTUAL,	          __void__setupGLExtensions__unsigned_int,	          "",	          "");	I_Method1(void, setMultiTexturingSupported, IN, bool, flag,	          Properties::NON_VIRTUAL,	          __void__setMultiTexturingSupported__bool,	          "",	          "");	I_Method0(bool, isMultiTexturingSupported,	          Properties::NON_VIRTUAL,	          __bool__isMultiTexturingSupported,	          "",	          "");	I_Method1(void, setTextureFilterAnisotropicSupported, IN, bool, flag,	          Properties::NON_VIRTUAL,	          __void__setTextureFilterAnisotropicSupported__bool,	          "",	          "");	I_Method0(bool, isTextureFilterAnisotropicSupported,	          Properties::NON_VIRTUAL,	          __bool__isTextureFilterAnisotropicSupported,	          "",	          "");	I_Method1(void, setTextureCompressionARBSupported, IN, bool, flag,	          Properties::NON_VIRTUAL,	          __void__setTextureCompressionARBSupported__bool,	          "",	          "");	I_Method0(bool, isTextureCompressionARBSupported,	          Properties::NON_VIRTUAL,	          __bool__isTextureCompressionARBSupported,	          "",	          "");	I_Method1(void, setTextureCompressionS3TCSupported, IN, bool, flag,	          Properties::NON_VIRTUAL,	          __void__setTextureCompressionS3TCSupported__bool,	          "",	          "");	I_Method0(bool, isTextureCompressionS3TCSupported,	          Properties::NON_VIRTUAL,	          __bool__isTextureCompressionS3TCSupported,	          "",	          "");	I_Method1(void, setTextureMirroredRepeatSupported, IN, bool, flag,	          Properties::NON_VIRTUAL,	          __void__setTextureMirroredRepeatSupported__bool,	          "",	          "");	I_Method0(bool, isTextureMirroredRepeatSupported,	          Properties::NON_VIRTUAL,	          __bool__isTextureMirroredRepeatSupported,	          "",	          "");	I_Method1(void, setTextureEdgeClampSupported, IN, bool, flag,	          Properties::NON_VIRTUAL,	          __void__setTextureEdgeClampSupported__bool,	          "",	          "");	I_Method0(bool, isTextureEdgeClampSupported,	          Properties::NON_VIRTUAL,	          __bool__isTextureEdgeClampSupported,	          "",	          "");	I_Method1(void, setTextureBorderClampSupported, IN, bool, flag,	          Properties::NON_VIRTUAL,	          __void__setTextureBorderClampSupported__bool,	          "",	          "");	I_Method0(bool, isTextureBorderClampSupported,	          Properties::NON_VIRTUAL,	          __bool__isTextureBorderClampSupported,	          "",	          "");	I_Method1(void, setGenerateMipMapSupported, IN, bool, flag,	          Properties::NON_VIRTUAL,	          __void__setGenerateMipMapSupported__bool,	          "",	          "");	I_Method0(bool, isGenerateMipMapSupported,	          Properties::NON_VIRTUAL,	          __bool__isGenerateMipMapSupported,	          "",	          "");	I_Method1(void, setShadowSupported, IN, bool, flag,	          Properties::NON_VIRTUAL,	          __void__setShadowSupported__bool,	          "",	          "");	I_Method0(bool, isShadowSupported,	          Properties::NON_VIRTUAL,	          __bool__isShadowSupported,	          "",	          "");	I_Method1(void, setShadowAmbientSupported, IN, bool, flag,	          Properties::NON_VIRTUAL,	          __void__setShadowAmbientSupported__bool,	          "",	          "");	I_Method0(bool, isShadowAmbientSupported,	          Properties::NON_VIRTUAL,	          __bool__isShadowAmbientSupported,	          "",	          "");

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?