kick
Public Member Functions | Public Attributes | Protected Attributes
kick::Context Class Reference
Inheritance diagram for kick::Context:
kick::SDL2Context

List of all members.

Public Member Functions

virtual bool init (int &argc, char **argv)=0
virtual bool showWindow (const WindowConfig &config)=0
virtual void swapBuffer ()=0
virtual void mainLoop ()=0
virtual bool isFullscreen ()=0
virtual void setFullscreen (bool fullscreen)=0
virtual void setWindowTitle (std::string title)=0
virtual std::string getWindowTitle ()=0
virtual std::string getBasePath ()
glm::ivec2 getContextSurfaceDim ()
std::string getGLSLPrefix ()

Public Attributes

Event< glm::ivec2 > contextSurfaceSize

Protected Attributes

glm::ivec2 contextSurfaceDim = glm::ivec2{512, 512}

Detailed Description

Definition at line 24 of file context.h.


Member Function Documentation

std::string kick::Context::getBasePath ( ) [virtual]

Return the resource base path

Reimplemented in kick::SDL2Context.

Definition at line 28 of file context.cpp.


The documentation for this class was generated from the following files:
 All Classes Functions Variables