AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
IRenderingContext Class Referenceabstract

Glue between AWindow and IRenderer. More...

Detailed Description

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.

See also
IRenderer

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 IRendererrenderer ()=0
 

#include <AUI/Platform/IRenderingContext.h>


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