AUI Framework
master
Cross-platform module-based framework for developing C++20 desktop applications
|
Glue between AWindow and IRenderer. More...
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.
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 |
#include <AUI/Platform/IRenderingContext.h>