Window
#include "Core/Window.h"
Public Functions
Name | |
---|---|
~Window() =default | |
void | finalize() |
GLFWwindow * | get() |
const std::string & | getTitle() |
void | init(const int oglVersionMajor, const int oglVersionMinor, bool oglDebug, bool oglForwardCompat)<br>Initialize GLFW window. |
void | setTitle(const char * title) |
void | swapBuffers() |
Public Functions Documentation
function ~Window
cpp
~Window() =default
~Window() =default
function finalize
cpp
void finalize()
void finalize()
function get
cpp
GLFWwindow * get()
GLFWwindow * get()
function getTitle
cpp
const std::string & getTitle()
const std::string & getTitle()
function init
cpp
void init(
const int oglVersionMajor,
const int oglVersionMinor,
bool oglDebug,
bool oglForwardCompat
)
void init(
const int oglVersionMajor,
const int oglVersionMinor,
bool oglDebug,
bool oglForwardCompat
)
Initialize GLFW window.
Exit the program if a window cannot be created.
function setTitle
cpp
void setTitle(
const char * title
)
void setTitle(
const char * title
)
function swapBuffers
cpp
void swapBuffers()
void swapBuffers()
Updated on 2024-11-06 at 20:16:53 +0000