class UIBackend
The base class from which platform-specific UI backends need to derive.
File location: framework/cauldron/framework/inc/core/uibackend.h
Construction
Return type |
Description |
---|---|
UIBackend ()
Constructor with default behavior.
|
Methods
Return type |
Description |
---|---|
bool |
Ready () const
Queries if the UI backend is ready.
|
void |
Update (double deltaTime)
Frame update function for the UIBackend.
|
void |
PlatformUpdate (double deltaTime) = 0
Platform-specific update function. Must be overridden per platform.
|
bool |
MessageHandler (const void* pMessage) = 0
Platform-specific message handler function. Must be overridden per platform.
|
static UIBackend* |
Creates a platform-specific UIBackend. Function must be implemented for each platform supported.
|
Detailed description
The base class from which platform-specific UI backends need to derive.
Construction
UIBackend
Constructor with default behavior.
Methods
Ready
Queries if the UI backend is ready.
Update
Frame update function for the UIBackend.
PlatformUpdate
Platform-specific update function. Must be overridden per platform.
MessageHandler
Platform-specific message handler function. Must be overridden per platform.
CreateUIBackend
Creates a platform-specific UIBackend. Function must be implemented for each platform supported.