Karma Engine
|
Public Types | |
using | EventCallbackFn = std::function<void(Event&)> |
Public Member Functions | |
virtual void | OnUpdate ()=0 |
virtual bool | OnResize (WindowResizeEvent &event)=0 |
virtual unsigned int | GetWidth () const =0 |
virtual unsigned int | GetHeight () const =0 |
virtual void | SetEventCallback (const EventCallbackFn &callback)=0 |
virtual void | SetVSync (bool enabled)=0 |
virtual bool | IsVSync () const =0 |
virtual void * | GetNativeWindow () const =0 |
Static Public Member Functions | |
static Window * | Create (const WindowProps &props=WindowProps()) |