Show
Ignore:
Timestamp:
10/21/14 17:10:27 (3 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/Device

    r13429 r13890  
    3030            SEND_EVENTS     = 2 
    3131        } Capabilities; 
    32          
     32 
    3333        Device(); 
    3434        Device(const Device& es, const osg::CopyOp& copyop); 
    3535 
    3636        META_Object(osgGA,Device); 
    37          
     37 
    3838        int getCapabilities() const { return _capabilities; } 
    39      
     39 
    4040        virtual bool checkEvents() { return _eventQueue.valid() ? !(getEventQueue()->empty()) : false; } 
    41         virtual void sendEvent(const GUIEventAdapter& ea); 
     41        virtual void sendEvent(const Event& ea); 
    4242        virtual void sendEvents(const EventQueue::Events& events); 
    4343 
     
    4848    protected: 
    4949        void setCapabilities(int capabilities) { _capabilities = capabilities; } 
    50          
     50 
    5151        virtual ~Device(); 
    5252 
     
    5555 
    5656        osg::ref_ptr<osgGA::EventQueue> _eventQueue; 
    57      
    58     private:    
     57 
     58    private: 
    5959        int _capabilities; 
    60          
     60 
    6161}; 
    6262