📄 databasepager.cpp
字号:
I_Method1(void, setExpiryFrames, IN, int, expiryFrames, Properties::NON_VIRTUAL, __void__setExpiryFrames__int, "Set the number of frames that a subgraph will be kept without being visited in the cull traversal before being removed. ", ""); I_Method0(int, getExpiryFrames, Properties::NON_VIRTUAL, __int__getExpiryFrames, "Get the number of frames that a subgraph will be kept without being visited in the cull traversal before being removed. ", ""); I_Method1(void, setReleaseDelay, IN, double, releaseDelay, Properties::NON_VIRTUAL, __void__setReleaseDelay__double, "Set the amount of time that a subgraph's OpenGL objects will be kept without being visited in the cull traversal before being released. ", ""); I_Method0(double, getReleaseDelay, Properties::NON_VIRTUAL, __double__getReleaseDelay, "Get the amount of time that a subgraph's OpenGL objects will be kept without being visited in the cull traversal before being released. ", ""); I_Method1(void, setReleaseFrames, IN, int, releaseFrames, Properties::NON_VIRTUAL, __void__setReleaseFrames__int, "Set the number of frames that a subgraph's OpenGL objects will be kept without being visited in the cull traversal before being released. ", ""); I_Method0(int, getReleaseFrames, Properties::NON_VIRTUAL, __int__getReleaseFrames, "Get the number of frames that a subgraph's OpenGL objects will be kept without being visited in the cull traversal before being released. ", ""); I_Method1(void, setDeleteRemovedSubgraphsInDatabaseThread, IN, bool, flag, Properties::NON_VIRTUAL, __void__setDeleteRemovedSubgraphsInDatabaseThread__bool, "Set whether the removed subgraphs should be deleted in the database thread or not. ", ""); I_Method0(bool, getDeleteRemovedSubgraphsInDatabaseThread, Properties::NON_VIRTUAL, __bool__getDeleteRemovedSubgraphsInDatabaseThread, "Get whether the removed subgraphs should be deleted in the database thread or not. ", ""); I_Method1(void, setDrawablePolicy, IN, osgDB::DatabasePager::DrawablePolicy, policy, Properties::NON_VIRTUAL, __void__setDrawablePolicy__DrawablePolicy, "Set how loaded drawables should be handled w.r.t their display list/vertex buffer object/vertex array settings. ", ""); I_Method0(osgDB::DatabasePager::DrawablePolicy, getDrawablePolicy, Properties::NON_VIRTUAL, __DrawablePolicy__getDrawablePolicy, "Get how loaded drawables should be handled w.r.t their display list/vertex buffer object/vertex array settings. ", ""); I_Method2(void, setUnrefImageDataAfterApplyPolicy, IN, bool, changeAutoUnRef, IN, bool, valueAutoUnRef, Properties::NON_VIRTUAL, __void__setUnrefImageDataAfterApplyPolicy__bool__bool, "Set whether newly loaded textures should have their UnrefImageDataAfterApply set to a specified value. ", ""); I_Method2(void, getUnrefImageDataAfterApplyPolicy, IN, bool &, changeAutoUnRef, IN, bool &, valueAutoUnRef, Properties::NON_VIRTUAL, __void__getUnrefImageDataAfterApplyPolicy__bool_R1__bool_R1, "Get whether newly loaded textures should have their UnrefImageDataAfterApply set to a specified value. ", ""); I_Method2(void, setMaxAnisotropyPolicy, IN, bool, changeAnisotropy, IN, float, valueAnisotropy, Properties::NON_VIRTUAL, __void__setMaxAnisotropyPolicy__bool__float, "Set whether newly loaded textures should have their MaxAnisotopy set to a specified value. ", ""); I_Method2(void, getMaxAnisotropyPolicy, IN, bool &, changeAnisotropy, IN, float &, valueAnisotropy, Properties::NON_VIRTUAL, __void__getMaxAnisotropyPolicy__bool_R1__float_R1, "Set whether newly loaded textures should have their MaxAnisotopy set to a specified value. ", ""); I_Method0(bool, requiresUpdateSceneGraph, Properties::NON_VIRTUAL, __bool__requiresUpdateSceneGraph, "Return true if there are pending updates to the scene graph that require a call to updateSceneGraph(double). ", ""); I_Method1(void, updateSceneGraph, IN, const osg::FrameStamp &, frameStamp, Properties::VIRTUAL, __void__updateSceneGraph__C5_osg_FrameStamp_R1, "Merge the changes to the scene graph by calling calling removeExpiredSubgraphs then addLoadedDataToSceneGraph. ", "Note, must only be called from single thread update phase. "); I_Method2(void, setCompileGLObjectsForContextID, IN, unsigned int, contextID, IN, bool, on, Properties::NON_VIRTUAL, __void__setCompileGLObjectsForContextID__unsigned_int__bool, "Turn the compilation of rendering objects for specified graphics context on (true) or off(false). ", ""); I_Method1(bool, getCompileGLObjectsForContextID, IN, unsigned int, contextID, Properties::NON_VIRTUAL, __bool__getCompileGLObjectsForContextID__unsigned_int, "Get whether the compilation of rendering objects for specified graphics context on (true) or off(false). ", ""); I_Method1(bool, requiresExternalCompileGLObjects, IN, unsigned int, contextID, Properties::NON_VIRTUAL, __bool__requiresExternalCompileGLObjects__unsigned_int, "Return true if an external draw thread should call compileGLObjects(. ", ".) or not. "); I_Method0(bool, requiresCompileGLObjects, Properties::NON_VIRTUAL, __bool__requiresCompileGLObjects, "Return true if there are pending compile operations that are required. ", "If requiresCompileGLObjects() return true the application should call compileGLObjects() . "); I_Method2(void, compileGLObjects, IN, osg::State &, state, IN, double &, availableTime, Properties::VIRTUAL, __void__compileGLObjects__osg_State_R1__double_R1, "Compile the rendering objects (display lists,texture objects, VBO's) on loaded subgraph. ", "note, should only be called from the draw thread. Note, must only be called from a valid graphics context. "); I_Method1(void, compileAllGLObjects, IN, osg::State &, state, Properties::VIRTUAL, __void__compileAllGLObjects__osg_State_R1, "Compile the rendering objects (display lists,texture objects, VBO's) on loaded subgraph. ", "note, should only be called from the draw thread. Note, must only be called from a valid graphics context. "); I_Method0(unsigned int, getFileRequestListSize, Properties::NON_VIRTUAL, __unsigned_int__getFileRequestListSize, "Report how many items are in the _fileRequestList queue. ", ""); I_Method0(unsigned int, getDataToCompileListSize, Properties::NON_VIRTUAL, __unsigned_int__getDataToCompileListSize, "Report how many items are in the _dataToCompileList queue. ", ""); I_Method0(double, getMinimumTimeToMergeTile, Properties::NON_VIRTUAL, __double__getMinimumTimeToMergeTile, "Get the minimum time between the first request for a tile to be loaded and the time of its merge into the main scene graph. ", ""); I_Method0(double, getMaximumTimeToMergeTile, Properties::NON_VIRTUAL, __double__getMaximumTimeToMergeTile, "Get the maximum time between the first request for a tile to be loaded and the time of its merge into the main scene graph. ", ""); I_Method0(double, getAverageTimeToMergeTiles, Properties::NON_VIRTUAL, __double__getAverageTimeToMergeTiles, "Get the average time between the first request for a tile to be loaded and the time of its merge into the main scene graph. ", ""); I_Method0(void, resetStats, Properties::NON_VIRTUAL, __void__resetStats, "Reset the Stats variables. ", ""); I_StaticMethod0(osg::ref_ptr< osgDB::DatabasePager > &, prototype, __osg_ref_ptrT1_DatabasePager__R1__prototype_S, "get the prototype singleton used by DatabasePager::create(). ", ""); I_StaticMethod0(osgDB::DatabasePager *, create, __DatabasePager_P1__create_S, "create a DatabasePager by cloning DatabasePager::prototype(). ", ""); I_ProtectedMethod1(bool, isCompiled, IN, osg::Texture *, texture, Properties::NON_VIRTUAL, Properties::CONST, __bool__isCompiled__osg_Texture_P1, "", ""); I_ProtectedMethod1(bool, isCompiled, IN, osg::StateSet *, stateSet, Properties::NON_VIRTUAL, Properties::NON_CONST, __bool__isCompiled__osg_StateSet_P1, "", ""); I_ProtectedMethod1(bool, isCompiled, IN, const osg::Drawable *, drawable, Properties::NON_VIRTUAL, Properties::CONST, __bool__isCompiled__C5_osg_Drawable_P1, "", ""); I_ProtectedMethod1(void, removeExpiredSubgraphs, IN, const osg::FrameStamp &, frameStamp, Properties::VIRTUAL, Properties::NON_CONST, __void__removeExpiredSubgraphs__C5_osg_FrameStamp_R1, "Iterate through the active PagedLOD nodes children removing children which havn't been visited since specified expiryTime. ", "note, should be only be called from the update thread. "); I_ProtectedMethod1(void, expiry_removeExpiredSubgraphs, IN, const osg::FrameStamp &, frameStamp, Properties::VIRTUAL, Properties::NON_CONST, __void__expiry_removeExpiredSubgraphs__C5_osg_FrameStamp_R1, "Old expiry delay based removeExpiredSubgraphs. ", ""); I_ProtectedMethod1(void, capped_removeExpiredSubgraphs, IN, const osg::FrameStamp &, frameStamp, Properties::VIRTUAL, Properties::NON_CONST, __void__capped_removeExpiredSubgraphs__C5_osg_FrameStamp_R1, "New capped based removeExpiredSubgraphs. ", ""); I_ProtectedMethod1(void, addLoadedDataToSceneGraph, IN, const osg::FrameStamp &, frameStamp, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__addLoadedDataToSceneGraph__C5_osg_FrameStamp_R1, "Add the loaded data to the scene graph. ", ""); I_SimpleProperty(bool, AcceptNewDatabaseRequests, __bool__getAcceptNewDatabaseRequests, __void__setAcceptNewDatabaseRequests__bool); I_SimpleProperty(double, AverageTimeToMergeTiles, __double__getAverageTimeToMergeTiles, 0); I_IndexedProperty(bool, CompileGLObjectsForContextID, __bool__getCompileGLObjectsForContextID__unsigned_int, __void__setCompileGLObjectsForContextID__unsigned_int__bool, 0); I_SimpleProperty(unsigned int, DataToCompileListSize, __unsigned_int__getDataToCompileListSize, 0); I_SimpleProperty(bool, DatabasePagerThreadPause, __bool__getDatabasePagerThreadPause, __void__setDatabasePagerThreadPause__bool); I_ArrayProperty(osgDB::DatabasePager::DatabaseThread *, DatabaseThread, __DatabaseThread_P1__getDatabaseThread__unsigned_int, 0, __unsigned_int__getNumDatabaseThreads, 0, 0, 0); I_SimpleProperty(bool, DeleteRemovedSubgraphsInDatabaseThread, __bool__getDeleteRemovedSubgraphsInDatabaseThread, __void__setDeleteRemovedSubgraphsInDatabaseThread__bool);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -