Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::RenderHandlerGL Class Reference

#include <renderhandlergl.h>

+ Inheritance diagram for inviwo::RenderHandlerGL:

Public Types

typedef std::function< void(CefRefPtr< CefBrowser >)> OnWebPageCopiedCallback
 

Public Member Functions

 RenderHandlerGL (OnWebPageCopiedCallback onWebPageCopiedCallback)
 
void updateCanvasSize (CefRefPtr< CefBrowser > browser, size2_t newSize)
 
virtual void 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 (CefRefPtr< CefBrowser > browser)
 
void ClearPopupRects (CefRefPtr< CefBrowser > browser)
 

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 file: