Karma Engine
Loading...
Searching...
No Matches
Karma::Window Class Referenceabstract
Inheritance diagram for Karma::Window:

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 WindowCreate (const WindowProps &props=WindowProps())
 

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