AUI Framework
develop
Cross-platform base for C++ UI apps
|
Glue between AWindow and IRenderer. More...
#include <AUI/Platform/IRenderingContext.h>
Classes | |
struct | Init |
Public Member Functions | |
virtual void | init (const Init &init) |
virtual void | destroyNativeWindow (AWindowBase &window)=0 |
virtual AImage | makeScreenshot ()=0 |
virtual void | beginPaint (AWindowBase &window)=0 |
virtual void | endPaint (AWindowBase &window)=0 |
virtual void | beginResize (AWindowBase &window)=0 |
virtual void | endResize (AWindowBase &window)=0 |
virtual IRenderer & | renderer ()=0 |
Glue between AWindow and IRenderer.
IRenderingContext is linker object between AWindow and IRenderer, that exposes IRenderer to the client code in order to draw.
Unlike IRenderer, each AWindow has it's own instance of IRenderingContext, thus it can be used to carry platform-specific and window-specific objects, like handles and framebuffers.