CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::UIBackingStore Class Referenceabstract

The BackingStore represents store for a window or view. More...

#include <CeresEngine/UI/UIBackingStore.hpp>

Inheritance diagram for CeresEngine::UIBackingStore:
CeresEngine::RefCounted< UIBackingStore > CeresEngine::UIFramebufferBackingStore

Public Member Functions

 UIBackingStore ()=default
 
virtual ~UIBackingStore () noexcept=default
 
virtual Extent2UI getSize () const =0
 
virtual void setSize (const Extent2UI &size)=0
 
virtual bool isAntiAliasing () const noexcept=0
 
virtual void setAntiAliasing (bool antiAliasing)=0
 
virtual Optional< UInt32getSampleCount () const noexcept=0
 
virtual void setSampleCount (const Optional< UInt32 > &sampleCount)=0
 
- Public Member Functions inherited from CeresEngine::RefCounted< UIBackingStore >
 RefCounted (Args &&... args)
 Creates a new RefCounted object and constructs a new Deleter by forwarding Args to it.
 
void retain () noexcept
 Retains the object by increment it's reference count by one.
 
bool release () noexcept
 Relases the object by decrementing it's reference count by one.
 

Friends

class UIWindow
 

Detailed Description

The BackingStore represents store for a window or view.

There are multiple implementations available and their behavior differ in performance, memory requirements and functionality of what is possible on the UI.

The Framebuffer implementation is very basic and only renders the contents into a texture, without doing anything further with it. Data is externally available and users can use it once the rendering is done.

Constructor & Destructor Documentation

◆ UIBackingStore()

CeresEngine::UIBackingStore::UIBackingStore ( )
explicitdefault

◆ ~UIBackingStore()

virtual CeresEngine::UIBackingStore::~UIBackingStore ( )
virtualdefaultnoexcept

Member Function Documentation

◆ getSampleCount()

virtual Optional< UInt32 > CeresEngine::UIBackingStore::getSampleCount ( ) const
pure virtualnoexcept

◆ getSize()

virtual Extent2UI CeresEngine::UIBackingStore::getSize ( ) const
pure virtual

◆ isAntiAliasing()

virtual bool CeresEngine::UIBackingStore::isAntiAliasing ( ) const
pure virtualnoexcept

◆ setAntiAliasing()

virtual void CeresEngine::UIBackingStore::setAntiAliasing ( bool  antiAliasing)
pure virtual

◆ setSampleCount()

virtual void CeresEngine::UIBackingStore::setSampleCount ( const Optional< UInt32 > &  sampleCount)
pure virtual

◆ setSize()

virtual void CeresEngine::UIBackingStore::setSize ( const Extent2UI &  size)
pure virtual

Friends And Related Symbol Documentation

◆ UIWindow


The documentation for this class was generated from the following file: