state.cpp

来自「最新osg包」· C++ 代码 · 共 873 行 · 第 1/3 页

CPP
873
字号
	          "");	I_Method1(void, disableVertexAttribPointersAboveAndIncluding, IN, unsigned int, index,	          Properties::NON_VIRTUAL,	          __void__disableVertexAttribPointersAboveAndIncluding__unsigned_int,	          "",	          "");	I_Method1(void, dirtyVertexAttribPointersAboveAndIncluding, IN, unsigned int, index,	          Properties::NON_VIRTUAL,	          __void__dirtyVertexAttribPointersAboveAndIncluding__unsigned_int,	          "",	          "");	I_Method0(bool, isVertexBufferObjectSupported,	          Properties::NON_VIRTUAL,	          __bool__isVertexBufferObjectSupported,	          "",	          "");	I_Method1(void, setLastAppliedProgramObject, IN, const osg::Program::PerContextProgram *, program,	          Properties::NON_VIRTUAL,	          __void__setLastAppliedProgramObject__C5_Program_PerContextProgram_P1,	          "",	          "");	I_Method0(const osg::Program::PerContextProgram *, getLastAppliedProgramObject,	          Properties::NON_VIRTUAL,	          __C5_Program_PerContextProgram_P1__getLastAppliedProgramObject,	          "",	          "");	I_Method1(GLint, getUniformLocation, IN, const std::string &, name,	          Properties::NON_VIRTUAL,	          __GLint__getUniformLocation__C5_std_string_R1,	          "",	          "");	I_Method1(GLint, getAttribLocation, IN, const std::string &, name,	          Properties::NON_VIRTUAL,	          __GLint__getAttribLocation__C5_std_string_R1,	          "",	          "");	I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs,	          Properties::NON_VIRTUAL,	          __void__setFrameStamp__FrameStamp_P1,	          "Set the frame stamp for the current frame. ",	          "");	I_Method0(osg::FrameStamp *, getFrameStamp,	          Properties::NON_VIRTUAL,	          __FrameStamp_P1__getFrameStamp,	          "Get the frame stamp for the current frame. ",	          "");	I_Method0(const osg::FrameStamp *, getFrameStamp,	          Properties::NON_VIRTUAL,	          __C5_FrameStamp_P1__getFrameStamp,	          "Get the const frame stamp for the current frame. ",	          "");	I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, vs,	          Properties::NON_VIRTUAL,	          __void__setDisplaySettings__DisplaySettings_P1,	          "Set the DisplaySettings. ",	          "Note, nothing is applied, the visual settings are just used in the State object to pass the current visual settings to Drawables during rendering. ");	I_Method0(const osg::DisplaySettings *, getDisplaySettings,	          Properties::NON_VIRTUAL,	          __C5_DisplaySettings_P1__getDisplaySettings,	          "Get the DisplaySettings. ",	          "");	I_Method1(void, setAbortRenderingPtr, IN, bool *, abortPtr,	          Properties::NON_VIRTUAL,	          __void__setAbortRenderingPtr__bool_P1,	          "Set flag for early termination of the draw traversal. ",	          "");	I_Method0(bool, getAbortRendering,	          Properties::NON_VIRTUAL,	          __bool__getAbortRendering,	          "Get flag for early termination of the draw traversal, if true steps should be taken to complete rendering early. ",	          "");	I_Method1(void, setDynamicObjectRenderingCompletedCallback, IN, osg::State::DynamicObjectRenderingCompletedCallback *, cb,	          Properties::NON_VIRTUAL,	          __void__setDynamicObjectRenderingCompletedCallback__DynamicObjectRenderingCompletedCallback_P1,	          "Set the callback to be called when the dynamic object count hits 0. ",	          "");	I_Method0(osg::State::DynamicObjectRenderingCompletedCallback *, getDynamicObjectRenderingCompletedCallback,	          Properties::NON_VIRTUAL,	          __DynamicObjectRenderingCompletedCallback_P1__getDynamicObjectRenderingCompletedCallback,	          "Get the callback to be called when the dynamic object count hits 0. ",	          "");	I_MethodWithDefaults2(void, setDynamicObjectCount, IN, unsigned int, count, , IN, bool, callCallbackOnZero, false,	                      Properties::NON_VIRTUAL,	                      __void__setDynamicObjectCount__unsigned_int__bool,	                      "Set the number of dynamic objects that will be rendered in this graphics context this frame. ",	                      "");	I_Method0(unsigned int, getDynamicObjectCount,	          Properties::NON_VIRTUAL,	          __unsigned_int__getDynamicObjectCount,	          "Get the number of dynamic objects that will be rendered in this graphics context this frame. ",	          "");	I_Method0(void, decrementDynamicObjectCount,	          Properties::NON_VIRTUAL,	          __void__decrementDynamicObjectCount,	          "Decrement the number of dynamic objects left to render this frame, and once the count goes to zero call the DynamicObjectRenderingCompletedCallback to inform of completion. ",	          "");	I_Method1(void, setCheckForGLErrors, IN, osg::State::CheckForGLErrors, check,	          Properties::NON_VIRTUAL,	          __void__setCheckForGLErrors__CheckForGLErrors,	          "Set whether and how often OpenGL errors should be checked for. ",	          "");	I_Method0(osg::State::CheckForGLErrors, getCheckForGLErrors,	          Properties::NON_VIRTUAL,	          __CheckForGLErrors__getCheckForGLErrors,	          "Get whether and how often OpenGL errors should be checked for. ",	          "");	I_Method1(bool, checkGLErrors, IN, const char *, str,	          Properties::NON_VIRTUAL,	          __bool__checkGLErrors__C5_char_P1,	          "",	          "");	I_Method1(bool, checkGLErrors, IN, osg::StateAttribute::GLMode, mode,	          Properties::NON_VIRTUAL,	          __bool__checkGLErrors__StateAttribute_GLMode,	          "",	          "");	I_Method1(bool, checkGLErrors, IN, const osg::StateAttribute *, attribute,	          Properties::NON_VIRTUAL,	          __bool__checkGLErrors__C5_StateAttribute_P1,	          "",	          "");	I_Method0(void, initializeExtensionProcs,	          Properties::NON_VIRTUAL,	          __void__initializeExtensionProcs,	          "Initialize extension used by osg:State. ",	          "");	I_ProtectedMethod0(bool, computeSecondaryColorSupported,	                   Properties::NON_VIRTUAL,	                   Properties::CONST,	                   __bool__computeSecondaryColorSupported,	                   "",	                   "");	I_ProtectedMethod0(bool, computeFogCoordSupported,	                   Properties::NON_VIRTUAL,	                   Properties::CONST,	                   __bool__computeFogCoordSupported,	                   "",	                   "");	I_ProtectedMethod0(bool, computeVertexBufferObjectSupported,	                   Properties::NON_VIRTUAL,	                   Properties::CONST,	                   __bool__computeVertexBufferObjectSupported,	                   "",	                   "");	I_SimpleProperty(bool, AbortRendering, 	                 __bool__getAbortRendering, 	                 0);	I_SimpleProperty(bool *, AbortRenderingPtr, 	                 0, 	                 __void__setAbortRenderingPtr__bool_P1);	I_SimpleProperty(unsigned int, ActiveTextureUnit, 	                 __unsigned_int__getActiveTextureUnit, 	                 __bool__setActiveTextureUnit__unsigned_int);	I_SimpleProperty(osg::State::CheckForGLErrors, CheckForGLErrors, 	                 __CheckForGLErrors__getCheckForGLErrors, 	                 __void__setCheckForGLErrors__CheckForGLErrors);	I_SimpleProperty(unsigned int, ClientActiveTextureUnit, 	                 __unsigned_int__getClientActiveTextureUnit, 	                 __bool__setClientActiveTextureUnit__unsigned_int);	I_SimpleProperty(const osg::Array *, ColorPointer, 	                 0, 	                 __void__setColorPointer__C5_Array_P1);	I_SimpleProperty(unsigned int, ContextID, 	                 __unsigned_int__getContextID, 	                 __void__setContextID__unsigned_int);	I_SimpleProperty(osg::ElementBufferObject *, CurrentElementBufferObject, 	                 0, 	                 __void__setCurrentElementBufferObject__osg_ElementBufferObject_P1);	I_SimpleProperty(osg::PixelBufferObject *, CurrentPixelBufferObject, 	                 0, 	                 __void__setCurrentPixelBufferObject__osg_PixelBufferObject_P1);	I_SimpleProperty(osg::VertexBufferObject *, CurrentVertexBufferObject, 	                 0, 	                 __void__setCurrentVertexBufferObject__osg_VertexBufferObject_P1);	I_SimpleProperty(const osg::Viewport *, CurrentViewport, 	                 __C5_Viewport_P1__getCurrentViewport, 	                 0);	I_SimpleProperty(osg::DisplaySettings *, DisplaySettings, 	                 0, 	                 __void__setDisplaySettings__DisplaySettings_P1);	I_SimpleProperty(unsigned int, DynamicObjectCount, 	                 __unsigned_int__getDynamicObjectCount, 	                 0);	I_SimpleProperty(osg::State::DynamicObjectRenderingCompletedCallback *, DynamicObjectRenderingCompletedCallback, 	                 __DynamicObjectRenderingCompletedCallback_P1__getDynamicObjectRenderingCompletedCallback, 	                 __void__setDynamicObjectRenderingCompletedCallback__DynamicObjectRenderingCompletedCallback_P1);	I_SimpleProperty(const osg::Array *, FogCoordPointer, 	                 0, 	                 __void__setFogCoordPointer__C5_Array_P1);	I_SimpleProperty(osg::FrameStamp *, FrameStamp, 	                 __FrameStamp_P1__getFrameStamp, 	                 __void__setFrameStamp__FrameStamp_P1);	I_SimpleProperty(const osg::StateAttribute *, GlobalDefaultAttribute, 	                 0, 	                 __void__setGlobalDefaultAttribute__C5_StateAttribute_P1);	I_IndexedProperty(bool, GlobalDefaultModeValue, 	                  __bool__getGlobalDefaultModeValue__StateAttribute_GLMode, 	                  __void__setGlobalDefaultModeValue__StateAttribute_GLMode__bool, 	                  0);	I_IndexedProperty(bool, GlobalDefaultTextureModeValue, 	                  __bool__getGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode, 	                  __void__setGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode__bool, 	                  0);	I_SimpleProperty(osg::GraphicsContext *, GraphicsContext, 	                 __GraphicsContext_P1__getGraphicsContext, 	                 __void__setGraphicsContext__GraphicsContext_P1);	I_SimpleProperty(const osg::Matrix &, InitialInverseViewMatrix, 	                 __C5_osg_Matrix_R1__getInitialInverseViewMatrix, 	                 0);	I_SimpleProperty(const osg::RefMatrix *, InitialViewMatrix, 	                 0, 	                 __void__setInitialViewMatrix__C5_osg_RefMatrix_P1);	I_SimpleProperty(const osg::Program::PerContextProgram *, LastAppliedProgramObject, 	                 __C5_Program_PerContextProgram_P1__getLastAppliedProgramObject, 	                 __void__setLastAppliedProgramObject__C5_Program_PerContextProgram_P1);	I_IndexedProperty(bool, ModeValidity, 	                  __bool__getModeValidity__StateAttribute_GLMode, 	                  __void__setModeValidity__StateAttribute_GLMode__bool, 	                  0);	I_SimpleProperty(const osg::Matrix &, ModelViewMatrix, 	                 __C5_osg_Matrix_R1__getModelViewMatrix, 	                 0);	I_SimpleProperty(const osg::Array *, NormalPointer, 	                 0, 	                 __void__setNormalPointer__C5_Array_P1);	I_SimpleProperty(const osg::Matrix &, ProjectionMatrix, 	                 __C5_osg_Matrix_R1__getProjectionMatrix, 	                 0);	I_SimpleProperty(const osg::Array *, SecondaryColorPointer, 	                 0, 	                 __void__setSecondaryColorPointer__C5_Array_P1);	I_SimpleProperty(osg::State::StateSetStack &, StateSetStack, 	                 __StateSetStack_R1__getStateSetStack, 	                 0);	I_SimpleProperty(unsigned int, StateSetStackSize, 	                 __unsigned_int__getStateSetStackSize, 	                 0);	I_SimpleProperty(const osg::Array *, VertexPointer, 	                 0, 	                 __void__setVertexPointer__C5_Array_P1);	I_SimpleProperty(osg::Polytope, ViewFrustum, 	                 __Polytope__getViewFrustum, 	                 0);END_REFLECTORBEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::State::DynamicObjectRenderingCompletedCallback)	I_DeclaringFile("osg/State");	I_BaseType(osg::Referenced);	I_Constructor0(____DynamicObjectRenderingCompletedCallback,	               "",	               "");	I_Method1(void, completed, IN, osg::State *, x,	          Properties::PURE_VIRTUAL,	          __void__completed__osg_State_P1,	          "",	          "");END_REFLECTORSTD_VECTOR_REFLECTOR(std::vector< const osg::StateSet * >)

⌨️ 快捷键说明

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