ngfx::GLFWWindow

Public Functions

Name
void create(GraphicsContext * graphicsContext, const char * title, std::function< void(Window *thiz)> setWindow, int w, int h)
virtual bool shouldClose()
virtual void pollEvents()
virtual ~GLFWWindow()

Public Attributes

Name
GLFWwindow * v

Public Functions Documentation

function create

void create(
    GraphicsContext * graphicsContext,
    const char * title,
    std::function< void(Window *thiz)> setWindow,
    int w,
    int h
)

function shouldClose

virtual bool shouldClose()

function pollEvents

virtual void pollEvents()

function ~GLFWWindow

virtual ~GLFWWindow()

Public Attributes Documentation

variable v

GLFWwindow * v;

Updated on 3 April 2021 at 20:21:51 PDT