![]() |
VR-Forces 5.0.2 Developer's Guide
|
node for processing textures needed for indirect geometries this allows for textures to be uploaded to the GPU before the tile has paged in so that there are not holes/gray tiles poping in

Public Member Functions | |
| virtual | ~DtIndirectTextureLoaderNode () |
| DtIndirectTextureLoaderNode (const DtIndirectTextureLoaderNode &other)=delete | |
| DtIndirectTextureLoaderNode & | operator= (const DtIndirectTextureLoaderNode &other)=delete |
| void | accept (osg::NodeVisitor &nv) |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
| virtual void | addIndirectRegistrarToProcess (DtIndirectGeometryRegistrar *registrar) |
| virtual void | removeIndirectRegistrarToProcess (DtIndirectGeometryRegistrar *registrar) |
| virtual bool | containsIndirectRegistrarToProcess (DtIndirectGeometryRegistrar *registrar, bool blocking=true) |
| virtual void | clearIndirectRegistrarsToProcess (bool lastCall=false) |
Protected Types | |
| typedef std::set< osg::ref_ptr < DtIndirectGeometryRegistrar > > | RegistrarSet |
Protected Member Functions | |
| DtIndirectTextureLoaderNode (DtDe &de) | |
Protected Attributes | |
| friend | DtIndirectTextureLoaderNodeCreator |
| boost::mutex | myMutex |
| boost::condition_variable | myCondition |
| RegistrarSet | myProcessors |
| bool | myAboutToBeDestroyed |
| DtDe & | myDtDe |
|
protected |
|
protected |
Constructor.
|
virtual |
Destructor - clears the list of registrars.
|
delete |
Copy Constructor not implemented – Copy Not Allowed.
|
delete |
Assignment Operator Not implemented – Assignment Not Allowed.
| void makVrv::DtIndirectTextureLoaderNode::accept | ( | osg::NodeVisitor & | nv | ) |
called when the scene is traversed, only does stuff in the cull visitor called in the main thread every frame - uses mutex for thread safe access to the registrar
|
virtual |
called during the draw stage. Doesn't draw anything, just uploads textures to the GPU called in the main thread every frame - uses mutex for thread safe access to the registrar notifies the condition when a registrar finishes and the list of registrars is changing.
|
virtual |
add an indirect registrar to the list of registrars to process called in a background paging thread - uses mutex for thread safe access of registrar list
|
virtual |
remove an indirect registrar from the list of registrars to process called in the main thread - uses mutex for thread safe access of registrar list notifies the condition since the list of registrars is changing.
|
virtual |
check to see if an indirect registrar is in the list of registrars to process called in a background paging thread - uses mutex for thread safe access of registrar list if blocking is true then it will use a wait condition to wait for a registrar to be removed also checks after a second to see if the database pager has been stopped.
|
virtual |
clear the list of indirect registrars to process
|
protected |
friend creator class so it is the only thing that can create DtIndirectTextureLoaderNodes
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |