sculpto
|
#include <application.h>
Public Types | |
using | handle = u32 |
Public Member Functions | |
const window & | GetWindow () const |
virtual void | OnInit () |
virtual void | OnClose () |
virtual void | OnUpdate (float DeltaTime) |
virtual void | OnGuiUpdate () |
application (const std::string &Name) | |
virtual | ~application () |
void | Run () |
void | ShutDown () |
layer ()=default | |
virtual | ~layer () |
virtual void | OnInit () |
virtual void | OnClose () |
virtual void | OnUpdate (float DeltaTime) |
virtual void | OnGuiRender () |
virtual handle | GetHandle () const =0 |
Static Public Member Functions | |
static application & | Get () |
Public Attributes | |
bool | GuiEnabled { false } |
Base abstract application layer class.
Render primitive abstract class
Definition at line 28 of file application.h.
using scl::abstract::handle = u32 |
Definition at line 19 of file render_primitive.h.
|
virtual |
Default application destructor.
|
inlinevirtual |
scl::abstract::application | ( | const std::string & | Name | ) |
Application methods.
Name | - Application name. Will be shown in window title. |
|
inlinestatic |
Application graphic user interface enabled flag. If false do not rendering gui.
Applicatino getters/setters functions.
Get applciation instance function.
Definition at line 43 of file application.h.
|
pure virtual |
Backend api render primitive hadnle getter function.
|
inline |
|
default |
Default layer constructor.
|
inlinevirtual |
None. |
Definition at line 71 of file application.h.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
None. |
Definition at line 87 of file application.h.
|
inlinevirtual |
Client application virtual collbacks.
None. |
Definition at line 63 of file application.h.
|
inlinevirtual |
|
inlinevirtual |
DeltaTime | - update inter frame delta time. \retunr None. |
Definition at line 79 of file application.h.
|
inlinevirtual |
void scl::abstract::Run | ( | ) |
None. |
void scl::abstract::ShutDown | ( | ) |
None. |
bool scl::abstract::GuiEnabled { false } |
Main app window.
Definition at line 39 of file application.h.