Public Member Functions | |
Renderer (osg::Camera *camera) | |
osgUtil::SceneView * | getSceneView (unsigned int i) |
void | setDone (bool done) |
bool | getDone () |
void | setGraphicsThreadDoesCull (bool flag) |
bool | getGraphicsThreadDoesCull () const |
void | cull () |
void | draw () |
void | cull_draw () |
virtual void | operator() (osg::Object *object) |
Override the standard Operation opertator and dynamic cast object to a GraphicsContext, on success call operation()(GraphicsContext*). | |
virtual void | operator() (osg::GraphicsContext *context) |
virtual void | release () |
if this operation is a barrier then release it. | |
Protected Member Functions | |
void | updateSceneView (osgUtil::SceneView *sceneView) |
virtual | ~Renderer () |
Protected Attributes | |
osg::observer_ptr < osg::Camera > | _camera |
bool | _done |
bool | _graphicsThreadDoesCull |
osg::ref_ptr < osgUtil::SceneView > | _sceneView [2] |
osg::ref_ptr < osg::FlushDeletedGLObjectsOperation > | _flushOperation |
TheadSafeQueue | _availableQueue |
TheadSafeQueue | _drawQueue |
Classes | |
struct | TheadSafeQueue |
osgViewer::Renderer::Renderer | ( | osg::Camera * | camera | ) |
virtual osgViewer::Renderer::~Renderer | ( | ) | [protected, virtual] |
osgUtil::SceneView* osgViewer::Renderer::getSceneView | ( | unsigned int | i | ) | [inline] |
void osgViewer::Renderer::setDone | ( | bool | done | ) | [inline] |
bool osgViewer::Renderer::getDone | ( | ) | [inline] |
void osgViewer::Renderer::setGraphicsThreadDoesCull | ( | bool | flag | ) |
bool osgViewer::Renderer::getGraphicsThreadDoesCull | ( | ) | const [inline] |
void osgViewer::Renderer::cull | ( | ) |
void osgViewer::Renderer::draw | ( | ) |
void osgViewer::Renderer::cull_draw | ( | ) |
virtual void osgViewer::Renderer::operator() | ( | osg::Object * | object | ) | [virtual] |
Override the standard Operation opertator and dynamic cast object to a GraphicsContext, on success call operation()(GraphicsContext*).
Reimplemented from osg::GraphicsOperation.
virtual void osgViewer::Renderer::operator() | ( | osg::GraphicsContext * | context | ) | [virtual] |
Implements osg::GraphicsOperation.
virtual void osgViewer::Renderer::release | ( | ) | [virtual] |
void osgViewer::Renderer::updateSceneView | ( | osgUtil::SceneView * | sceneView | ) | [protected] |
osg::observer_ptr<osg::Camera> osgViewer::Renderer::_camera [protected] |
bool osgViewer::Renderer::_done [protected] |
bool osgViewer::Renderer::_graphicsThreadDoesCull [protected] |
osg::ref_ptr<osgUtil::SceneView> osgViewer::Renderer::_sceneView[2] [protected] |
TheadSafeQueue osgViewer::Renderer::_availableQueue [protected] |
TheadSafeQueue osgViewer::Renderer::_drawQueue [protected] |