Show
Ignore:
Timestamp:
10/21/14 17:10:27 (10 days ago)
Author:
robert
Message:

Added shaders to support experimental shader based displacement mapping technique osgTerrain::ShaderTerrain?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgGA/EventQueue

    r13041 r13376  
    6565        /** Set the graphics context associated with this event queue.*/ 
    6666        void setGraphicsContext(osg::GraphicsContext* context) { getCurrentEventState()->setGraphicsContext(context); } 
     67         
     68        osg::GraphicsContext* getGraphicsContext() { return getCurrentEventState()->getGraphicsContext(); } 
     69 
     70        const osg::GraphicsContext* getGraphicsContext() const { return getCurrentEventState()->getGraphicsContext(); } 
     71 
     72        /** Read the window record dimensions from the graphics context. */ 
     73        void syncWindowRectangleWithGraphcisContext(); 
    6774 
    6875