Inviwo  0.9.10.1
Inviwo documentation
inviwo::RenderHandlerGL Class Reference

#include <renderhandlergl.h>

+ Inheritance diagram for inviwo::RenderHandlerGL:

Public Types

typedef std::function< void()> OnWebPageCopiedCallback
 

Public Member Functions

 RenderHandlerGL (OnWebPageCopiedCallback onWebPageCopiedCallback)
 
void updateCanvasSize (size2_t newSize)
 
virtual bool GetViewRect (CefRefPtr< CefBrowser > browser, CefRect &rect) override
 
virtual void OnPopupShow (CefRefPtr< CefBrowser > browser, bool show) override
 
virtual void OnPopupSize (CefRefPtr< CefBrowser > browser, const CefRect &rect) override
 
virtual void OnPaint (CefRefPtr< CefBrowser > browser, PaintElementType type, const RectList &dirtyRects, const void *buffer, int width, int height) override
 
Texture2DgetTexture2D ()
 
uvec4 getPixel (int x, int y)
 
void ClearPopupRects ()
 
 IMPLEMENT_REFCOUNTING (RenderHandlerGL)
 

Detailed Description

Copies web page into a Texture2D each time it has been painted by the browser and calls onWebPageCopiedCallback afterwards.


The documentation for this class was generated from the following files: