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

Public Member Functions

void destroyNativeWindow (AWindowBase &window) override
 
void beginPaint (AWindowBase &window) override
 
void endPaint (AWindowBase &window) override
 
void beginResize (AWindowBase &window) override
 
void init (const Init &init) override
 
IRendererrenderer () override
 
AImage makeScreenshot () override
 
uint8_t & stencil (const glm::uvec2 &position)
 
glm::uvec2 bitmapSize () const
 
void putPixel (const glm::uvec2 &position, const glm::u8vec3 &color) noexcept
 
void putPixel (const glm::uvec2 &position, const glm::u8vec4 &color) noexcept
 
glm::u8vec4 getPixel (const glm::uvec2 &position) noexcept
 
void endResize (AWindowBase &window) override
 
- Public Member Functions inherited from aui::noncopyable
 noncopyable (const noncopyable &)=delete
 
noncopyableoperator= (const noncopyable &)=delete
 

Protected Member Functions

void reallocateImageBuffers (const AWindowBase &window)
 

Protected Attributes

AByteBuffer mStencilBlob
 
glm::uvec2 mBitmapSize
 
- Protected Attributes inherited from CommonRenderingContext
bool mSmoothResize = !(ARenderingContextOptions::get().flags & ARenderContextFlags::NO_SMOOTH)
 

Member Function Documentation

◆ beginPaint()

void SoftwareRenderingContext::beginPaint ( AWindowBase window)
overridevirtual

Reimplemented from CommonRenderingContext.

◆ beginResize()

void SoftwareRenderingContext::beginResize ( AWindowBase window)
overridevirtual

Implements IRenderingContext.

◆ destroyNativeWindow()

void SoftwareRenderingContext::destroyNativeWindow ( AWindowBase window)
overridevirtual

Reimplemented from CommonRenderingContext.

◆ endPaint()

void SoftwareRenderingContext::endPaint ( AWindowBase window)
overridevirtual

Reimplemented from CommonRenderingContext.

◆ endResize()

void SoftwareRenderingContext::endResize ( AWindowBase window)
overridevirtual

Implements IRenderingContext.

◆ init()

void SoftwareRenderingContext::init ( const Init init)
overridevirtual

Reimplemented from CommonRenderingContext.

◆ makeScreenshot()

AImage SoftwareRenderingContext::makeScreenshot ( )
overridevirtual

Implements IRenderingContext.

◆ renderer()

IRenderer & SoftwareRenderingContext::renderer ( )
overridevirtual

Implements IRenderingContext.


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