TerraForge3D  2.3.1
3D Terrain And Landscape Generator
Window Class Reference

Public Member Functions

 Window (std::string title)
 
void SetShouldCloseCallback (EventFn callbackFunction)
 
void SetResizeCallback (EventFn callbackFunction)
 
void SetMouseCallback (EventFn callbackFunction)
 
void SetVSync (bool enabled)
 
void MakeCurrentContext ()
 
void SetClearColor (ClearColor color)
 
void Update ()
 
void Close ()
 
void Clear ()
 
void SetFullScreen (bool fullscreen)
 
void SetVisible (bool visibility)
 
bool IsVSyncEnabled ()
 
GLFWwindow * GetNativeWindow ()
 

Private Attributes

bool isActive
 
bool vSyncState
 
bool isFullscreen = false
 
GLFWwindow * m_Window
 
EventFn m_CloseEventCallback
 
EventFn m_ResizeEventCallback
 
EventFn m_MouseEventCallback
 
ClearColor m_ClearColor
 

Detailed Description

Definition at line 25 of file Window.h.


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